![]() |
PokerUnicorn
|
Cute macros. More...
#define | STRINGIFY(x) #x |
#define | TOSTRING(x) STRINGIFY(x) |
#define | VARCAT(left, right) left##right |
#define | LIST_FOREACH(list, node) |
#define | END_FOREACH }} |
#define | LISTIFY(type) |
#define | ITEMIFY(type) |
#define | LIST_INIT(list) |
#define | LIST_ITEM_INIT(list) |
#define | LIST_APPEND(list, node) |
#define | LIST_PREPEND(list, node) |
#define | LIST_REMOVE(list, node) |
#define | LIST_SORT(list, a, b, cmp_expr) |
#define | R(expr) PKRSRV_REF_BY(expr) |
Cute macros.
#define STRINGIFY | ( | x | ) | #x |
#define TOSTRING | ( | x | ) | STRINGIFY(x) |
#define VARCAT | ( | left, | |
right ) left##right |
#define LIST_FOREACH | ( | list, | |
node ) |
#define END_FOREACH }} |
#define LISTIFY | ( | type | ) |
#define ITEMIFY | ( | type | ) |
#define LIST_INIT | ( | list | ) |
#define LIST_ITEM_INIT | ( | list | ) |
#define LIST_APPEND | ( | list, | |
node ) |
#define LIST_PREPEND | ( | list, | |
node ) |
#define LIST_REMOVE | ( | list, | |
node ) |
#define LIST_SORT | ( | list, | |
a, | |||
b, | |||
cmp_expr ) |
#define R | ( | expr | ) | PKRSRV_REF_BY(expr) |