LAMA
|
Some macro utilities for generating symbol names. More...
Go to the source code of this file.
Defines | |
#define | LAMA_JOIN(symbol1, symbol2) _LAMA_DO_JOIN( symbol1, symbol2 ) |
Help macro to concatenate two symbols, can also deal with nested calls. | |
#define | _LAMA_DO_JOIN(symbol1, symbol2) _LAMA_DO_JOIN2( symbol1, symbol2 ) |
Help macro to deal with nested calls of LAMA_JOIN. | |
#define | _LAMA_DO_JOIN2(symbol1, symbol2) symbol1##symbol2 |
Furtherhelp macro to deal with nested calls of LAMA_JOIN. | |
#define | LAMA_UNIQUE_NAME(prefix, postfix) LAMA_JOIN( prefix , LAMA_JOIN( __LINE__ , postfix ) ) |
Creates a unique symbol name by joining the prefix, the line and the postfix. |
Some macro utilities for generating symbol names.
#define _LAMA_DO_JOIN | ( | symbol1, | |
symbol2 | |||
) | _LAMA_DO_JOIN2( symbol1, symbol2 ) |
Help macro to deal with nested calls of LAMA_JOIN.
#define _LAMA_DO_JOIN2 | ( | symbol1, | |
symbol2 | |||
) | symbol1##symbol2 |
Furtherhelp macro to deal with nested calls of LAMA_JOIN.
#define LAMA_JOIN | ( | symbol1, | |
symbol2 | |||
) | _LAMA_DO_JOIN( symbol1, symbol2 ) |
Help macro to concatenate two symbols, can also deal with nested calls.
#define LAMA_UNIQUE_NAME | ( | prefix, | |
postfix | |||
) | LAMA_JOIN( prefix , LAMA_JOIN( __LINE__ , postfix ) ) |
Creates a unique symbol name by joining the prefix, the line and the postfix.
LAMA_UNIQUE_NAME( Interface, Registry ) -> Interface17Registry