DTNMA Reference Tools v2.0.0 - 7.g88e232c
Delay-Tolerant Networking Management Architecture (DTNMA) Tool Suite
|
Configuration items driven by CMake options and user tailoring. More...
Macros | |
#define | ARI_TEXT_PARSE |
#define | ENABLE_LUT_CACHE |
#define | PCRE_FOUND |
#define | PCRE2_CODE_UNIT_WIDTH 8 |
#define | HAVE_GETOPT_LONG |
#define | CACE_MALLOC malloc |
Uses the same function signature as C99 malloc(). | |
#define | CACE_REALLOC realloc |
Uses the same function signature as C99 realloc(). | |
#define | CACE_FREE free |
Uses the same function signature as C99 free(). | |
#define | M_MEMORY_ALLOC(type) ((type *) CACE_MALLOC(sizeof(type))) |
Force the use of M_ prefixed macros for M*LIB. | |
#define | M_MEMORY_DEL(ptr) CACE_FREE(ptr) |
Define to override value/struct deallocation. | |
#define | M_MEMORY_REALLOC(type, ptr, n) (M_UNLIKELY((n) > SIZE_MAX / sizeof(type)) ? (type *) NULL : (type *) CACE_REALLOC((ptr), (n)*sizeof (type))) |
Define to override array allocation. | |
#define | M_MEMORY_FREE(ptr) CACE_FREE(ptr) |
Define to override array deallocation. | |
Configuration items driven by CMake options and user tailoring.
#define M_MEMORY_ALLOC | ( | type | ) | ((type *) CACE_MALLOC(sizeof(type))) |
Force the use of M_ prefixed macros for M*LIB.
Define to override value/struct allocation. See m-core.h for details.
#define M_MEMORY_DEL | ( | ptr | ) | CACE_FREE(ptr) |
Define to override value/struct deallocation.
See m-core.h for details.
#define M_MEMORY_FREE | ( | ptr | ) | CACE_FREE(ptr) |
Define to override array deallocation.
See m-core.h for details.
#define M_MEMORY_REALLOC | ( | type, | |
ptr, | |||
n | |||
) | (M_UNLIKELY((n) > SIZE_MAX / sizeof(type)) ? (type *) NULL : (type *) CACE_REALLOC((ptr), (n)*sizeof (type))) |
Define to override array allocation.
See m-core.h for details.