General C-preprocessor macros.
More...
Go to the source code of this file.
|
#define | CAT_(a, b) a ## b |
| Concatenate two preprocessor tokens. More...
|
|
#define | CAT(a, b) CAT_(a, b) |
|
#define | CAT3_(a, b, c) a ## b ## c |
| Concatenate three preprocessor tokens. More...
|
|
#define | CAT3(a, b, c) CAT3_(a, b, c) |
|
#define | CAT4_(a, b, c, d) a ## b ## c ## d |
| Concatenate four preprocessor tokens. More...
|
|
#define | CAT4(a, b, c, d) CAT4_(a, b, c, d) |
|
#define | CAT5_(a, b, c, d, e) a ## b ## c ## d ## e |
| Concatenate five preprocessor tokens. More...
|
|
#define | CAT5(a, b, c, d, e) CAT5_(a, b, c, d, e) |
|
#define | FILE_UNIQUE(x) CAT(x, __LINE__) |
| Generate an identifier unique within the file in which it is generated. More...
|
|
#define | CAPITALIZE(name) CAPITALIZE_##name |
| Map 'name' to 'Name' via the predefined macro CAPITALIZE_name. More...
|
|
General C-preprocessor macros.
Original source file macros.H
Definition in file macros.H.
◆ CAT_
#define CAT_ |
( |
|
a, |
|
|
|
b |
|
) |
| a ## b |
Concatenate two preprocessor tokens.
Definition at line 35 of file macros.H.
◆ CAT
#define CAT |
( |
|
a, |
|
|
|
b |
|
) |
| CAT_(a, b) |
◆ CAT3_
#define CAT3_ |
( |
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| a ## b ## c |
Concatenate three preprocessor tokens.
Definition at line 39 of file macros.H.
◆ CAT3
#define CAT3 |
( |
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| CAT3_(a, b, c) |
◆ CAT4_
#define CAT4_ |
( |
|
a, |
|
|
|
b, |
|
|
|
c, |
|
|
|
d |
|
) |
| a ## b ## c ## d |
Concatenate four preprocessor tokens.
Definition at line 43 of file macros.H.
◆ CAT4
#define CAT4 |
( |
|
a, |
|
|
|
b, |
|
|
|
c, |
|
|
|
d |
|
) |
| CAT4_(a, b, c, d) |
◆ CAT5_
#define CAT5_ |
( |
|
a, |
|
|
|
b, |
|
|
|
c, |
|
|
|
d, |
|
|
|
e |
|
) |
| a ## b ## c ## d ## e |
Concatenate five preprocessor tokens.
Definition at line 47 of file macros.H.
◆ CAT5
#define CAT5 |
( |
|
a, |
|
|
|
b, |
|
|
|
c, |
|
|
|
d, |
|
|
|
e |
|
) |
| CAT5_(a, b, c, d, e) |
◆ FILE_UNIQUE
#define FILE_UNIQUE |
( |
|
x | ) |
CAT(x, __LINE__) |
Generate an identifier unique within the file in which it is generated.
Definition at line 51 of file macros.H.
◆ CAPITALIZE
#define CAPITALIZE |
( |
|
name | ) |
CAPITALIZE_##name |
Map 'name' to 'Name' via the predefined macro CAPITALIZE_name.
Definition at line 54 of file macros.H.