|
Tor
0.4.7.0-alpha-dev
|
Token-pasting macros. More...
Go to the source code of this file.
Macros | |
| #define | PASTE(a, b) PASTE__(a,b) |
| #define | PASTE__(a, b) a ## b |
Token-pasting macros.
Definition in file tokpaste.h.
| #define PASTE | ( | a, | |
| b | |||
| ) | PASTE__(a,b) |
Concatenate a and b in a way that allows their result itself to be expanded by the preprocessor.
Ordinarily you could just say a ## b in a macro definition. But doing so results in a symbol which the preprocessor will not then expand. If you wanted to use a ## b to create the name of a macro and have the preprocessor expand that macro, you need to have another level of indirection, as this macro provides.
Definition at line 25 of file tokpaste.h.
| #define PASTE__ | ( | a, | |
| b | |||
| ) | a ## b |
Helper for PASTE().
Definition at line 28 of file tokpaste.h.