Libecoli 0.5.0
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) |
Misc utils.
#define EC_CAST | ( | x, | |
old_type, | |||
new_type ) |
Cast a variable into a type, ensuring its initial type first
Definition at line 19 of file ecoli_utils.h.
#define EC_VA_END ((void *)1) |
Mark the end of the arguments list in some functions.
Definition at line 27 of file ecoli_utils.h.
#define EC_COUNT_OF | ( | x | ) |
Count number of elements in an array.
Definition at line 32 of file ecoli_utils.h.