Library of Assembled Shared Sources
common_macros.h File Reference
#include "common_macros.inl"
Include dependency graph for common_macros.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LASS_STRINGIFY(iA)
 convert to string at preprocessor time.
 
#define LASS_CONCATENATE(iA, iB)
 concatenate two words at preprocessor time.
 
#define LASS_CONCATENATE_3(iA, iB, iC)
 concatenate three words at preprocessor time.
 
#define LASS_BREAK_HERE   __debugbreak();
 user breakpoint
 
#define LASS_UNIQUENAME(iPrefix)
 create a unique name based on a prefix and line number
 
#define LASS_FILE   __FILE__
 current file
 
#define LASS_LINE   __LINE__
 current line (stringified!)
 
#define LASS_FUNCTION   "??"
 current function
 
#define LASS_NOTE(iMessage)
 pragma for leaving notes in build window
 
#define LASS_TODO(iMessage)
 pragma for leaving todo notes in build window
 
#define LASS_FIXME(iMessage)
 pragma for leaving fixme notes in build window
 
#define LASS_UNUSED(x)
 tell the compiler that some variable may stay unused.
 
#define LASS_EXECUTE_BEFORE_MAIN(x)
 Executes code before the main has actually begun.
 
#define LASS_EXECUTE_BEFORE_MAIN_EX(iPrefix, x)
 Same as LASS_EXECUTE_BEFORE_MAIN but with an additional parameter that let's you specify the used prefix.
 

Detailed Description

Author
Bram de Greve (bram@.nosp@m.coca.nosp@m.mware.nosp@m..com)
Tom De Muer (tom@c.nosp@m.ocam.nosp@m.ware..nosp@m.com)

*** BEGIN LICENSE INFORMATION ***

The contents of this file are subject to the Common Public Attribution License Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://lass.sourceforge.net/cpal-license. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

The Original Code is LASS - Library of Assembled Shared Sources.

The Initial Developer of the Original Code is Bram de Greve and Tom De Muer. The Original Developer is the Initial Developer.

All portions of the code written by the Initial Developer are: Copyright (C) 2004-2022 the Initial Developer. All Rights Reserved.

Contributor(s):

Alternatively, the contents of this file may be used under the terms of the GNU General Public License Version 2 or later (the GPL), in which case the provisions of GPL are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of the GPL and not to allow others to use your version of this file under the CPAL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the GPL License. If you do not delete the provisions above, a recipient may use your version of this file under either the CPAL or the GPL.

*** END LICENSE INFORMATION ***

Definition in file common_macros.h.