![]() |
PokerUnicorn
|
Cute macros. More...
| #define | STRINGIFY(x) |
| #define | TOSTRING(x) |
| #define | VARCAT(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 | DECL_LIST(list_name, item_name, members, list_new_body, item_new_body, list_free_body, item_free_body) |
| #define | R(expr) |
| #define | REF_COUNTEDIFY() |
| #define | REF_COUNTED_INIT(obj, free_f) |
| #define | USE(expr) |
| #define | LEAVE(expr) |
Cute macros.
| #define STRINGIFY | ( | x | ) |
| #define VARCAT | ( | 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 DECL_LIST | ( | list_name, | |
| item_name, | |||
| members, | |||
| list_new_body, | |||
| item_new_body, | |||
| list_free_body, | |||
| item_free_body ) |
| #define R | ( | expr | ) |
| #define REF_COUNTEDIFY | ( | ) |
| #define REF_COUNTED_INIT | ( | obj, | |
| free_f ) |