Tor 0.4.9.8
Loading...
Searching...
No Matches
tokpaste.h File Reference

Token-pasting macros. More...

Go to the source code of this file.

Macros

#define PASTE(a, b)
 
#define PASTE__(a, b)
 

Detailed Description

Token-pasting macros.

Definition in file tokpaste.h.

Macro Definition Documentation

◆ PASTE

#define PASTE ( a,
b )
Value:
PASTE__(a,b)
#define PASTE__(a, b)
Definition tokpaste.h:28

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.

◆ PASTE__

#define PASTE__ ( a,
b )
Value:
a ## b

Helper for PASTE().

Definition at line 28 of file tokpaste.h.