lib/ewl_macros.h File Reference
Go to the source code of this file.
Defines | |
#define | FREE(dat) |
#define | IF_FREE(dat) |
#define | IF_FREE_HASH(hash) |
#define | IF_FREE_LIST(list) |
#define | IF_RELEASE(item) |
#define | MAX(x, y) (((x) > (y)) ? (x) : (y)) |
#define | MIN(x, y) (((x) > (y)) ? (y) : (x)) |
#define | NEW(type, num) calloc(num, sizeof(type)); |
#define | REALLOC(dat, type, num) |
#define | ZERO(ptr, type, num) ptr = memset(ptr, 0, sizeof(type) * (num)) |