Go to the documentation of this file.
8 #ifndef parserutils_utils_h_
9 #define parserutils_utils_h_
12 #define max(a,b) ((a)>(b)?(a):(b))
16 #define min(a,b) ((a)<(b)?(a):(b))
21 #define SLEN(s) (sizeof((s)) - 1)
25 #define UNUSED(x) ((void)(x))
29 #define N_ELEMENTS(s) (sizeof((s)) / sizeof((s)[0]))
33 #define ALIGN(val) (((val) + 3) & ~(3))