Go to the source code of this file.
Defines | |
#define | LIBTHROWABLE_CONCAT_3(x, y) x ## y |
#define | LIBTHROWABLE_CONCAT_2(x, y) LIBTHROWABLE_CONCAT_3(x, y) |
#define | LIBTHROWABLE_CONCAT_1(x, y) LIBTHROWABLE_CONCAT_2(x, y) |
#define | LIBTHROWABLE_UNIQUE_ID LIBTHROWABLE_CONCAT_1(libthrowableUniqueIdAtLine, __LINE__) |
File-unique identifier. |
#define LIBTHROWABLE_CONCAT_1 | ( | x, | |||
y | ) | LIBTHROWABLE_CONCAT_2(x, y) |
#define LIBTHROWABLE_CONCAT_2 | ( | x, | |||
y | ) | LIBTHROWABLE_CONCAT_3(x, y) |
#define LIBTHROWABLE_CONCAT_3 | ( | x, | |||
y | ) | x ## y |
#define LIBTHROWABLE_UNIQUE_ID LIBTHROWABLE_CONCAT_1(libthrowableUniqueIdAtLine, __LINE__) |
File-unique identifier.
This macro can be used as a file-unique identifier. A small example is shown below:
int LIBTHROWABLE_UNIQUE_ID = 4;
This will intialize an int
called libthrowableUniqueIdAtLine<linenno> where linenno is the line at that point (i.e. if this were at line 40, the int would be called libthrowableUniqueIdAtLine40).