|
Libecoli
0.11.3
Extensible COmmand LIne library
|
Misc utils. More...
Macros | |
| #define | EC_CAST(x, old_type, new_type) |
| #define | EC_VA_END ((void *)1) |
| #define | EC_COUNT_OF(x) ((sizeof(x) / sizeof(0 [x])) / ((size_t)(!(sizeof(x) % sizeof(0 [x]))))) |
| #define | EC_DEPRECATED(msg) __attribute__((deprecated(msg))) |
| #define | EC_DEPRECATED_MACRO_(x) _Pragma(#x) |
| #define | EC_DEPRECATED_MACRO(msg) EC_DEPRECATED_MACRO_(GCC warning msg) |
Misc utils.
| #define EC_CAST | ( | x, | |
| old_type, | |||
| new_type | |||
| ) |
| #define EC_VA_END ((void *)1) |
| #define EC_COUNT_OF | ( | x | ) | ((sizeof(x) / sizeof(0 [x])) / ((size_t)(!(sizeof(x) % sizeof(0 [x]))))) |
| #define EC_DEPRECATED | ( | msg | ) | __attribute__((deprecated(msg))) |