Bitcoin ABC 0.31.0
P2P Digital Currency
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Macros
macros.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PASTE(x, y)   x##y
 
#define PASTE2(x, y)   PASTE(x, y)
 
#define UNIQUE_LOG_NAME(name)   PASTE2(name, __COUNTER__)
 
#define STRINGIZE(X)   DO_STRINGIZE(X)
 Converts the parameter X to a string after macro replacement on X has been performed. More...
 
#define DO_STRINGIZE(X)   #X
 

Macro Definition Documentation

◆ DO_STRINGIZE

#define DO_STRINGIZE (   X)    #X

Definition at line 19 of file macros.h.

◆ PASTE

#define PASTE (   x,
 
)    x##y

Definition at line 8 of file macros.h.

◆ PASTE2

#define PASTE2 (   x,
 
)    PASTE(x, y)

Definition at line 9 of file macros.h.

◆ STRINGIZE

#define STRINGIZE (   X)    DO_STRINGIZE(X)

Converts the parameter X to a string after macro replacement on X has been performed.

Don't merge these into one macro!

Definition at line 18 of file macros.h.

◆ UNIQUE_LOG_NAME

#define UNIQUE_LOG_NAME (   name)    PASTE2(name, __COUNTER__)

Definition at line 11 of file macros.h.