ecoli_utils - Man Page
Name
ecoli_utils — Utils
— Misc utils.
Synopsis
Macros
#define EC_CAST(x, old_type, new_type)
#define EC_VA_END ((void *)1)
#define EC_COUNT_OF(x)
Detailed Description
Misc utils.
Macro Definition Documentation
#define EC_CAST( x, old_type, new_type)
Value:
({ \ old_type __x = (x); \ (new_type)__x; \ })
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)
Value:
((sizeof(x)/sizeof(0[x])) / \ ((size_t)(!(sizeof(x) % sizeof(0[x])))))
Count number of elements in an array.
Definition at line 32 of file ecoli_utils.h.
Author
Generated automatically by Doxygen for Libecoli from the source code.
Referenced By
The man pages EC_CAST(3), EC_COUNT_OF(3) and EC_VA_END(3) are aliases of ecoli_utils(3).
Version 0.3.0 Libecoli