|
BSL v1.1.1 - 64.gc92ac12
AMMOS Bundle Protocol Security Library (BSL)
|
M*LIB memory management configurations. More...
This graph shows which files directly or indirectly include this file:Macros | |
| #define | M_USE_SMALL_NAME 0 |
| Force the use of M_ prefixed macros for M*LIB. | |
| #define | M_MEMORY_ALLOC(ctx, type) ((type *)BSL_malloc(sizeof(type))) |
| Define to override value/struct allocation. | |
| #define | M_MEMORY_DEL(ctx, ptr) BSL_free(ptr) |
| Define to override value/struct deallocation. | |
| #define | M_MEMORY_REALLOC(ctx, type, ptr, o, n) (M_UNLIKELY((n) > SIZE_MAX / sizeof(type)) ? (type *)NULL : (type *)BSL_realloc((ptr), (n) * sizeof(type))) |
| Define to override array allocation. | |
| #define | M_MEMORY_FREE(ctx, type, ptr, o) BSL_free(ptr) |
| Define to override array deallocation. | |
M*LIB memory management configurations.
| #define M_MEMORY_ALLOC | ( | ctx, | |
| type | |||
| ) | ((type *)BSL_malloc(sizeof(type))) |
Define to override value/struct allocation.
See m-core.h for details.
| #define M_MEMORY_DEL | ( | ctx, | |
| ptr | |||
| ) | BSL_free(ptr) |
Define to override value/struct deallocation.
See m-core.h for details.
| #define M_MEMORY_FREE | ( | ctx, | |
| type, | |||
| ptr, | |||
| o | |||
| ) | BSL_free(ptr) |
Define to override array deallocation.
See m-core.h for details.
| #define M_MEMORY_REALLOC | ( | ctx, | |
| type, | |||
| ptr, | |||
| o, | |||
| n | |||
| ) | (M_UNLIKELY((n) > SIZE_MAX / sizeof(type)) ? (type *)NULL : (type *)BSL_realloc((ptr), (n) * sizeof(type))) |
Define to override array allocation.
See m-core.h for details.
| #define M_USE_SMALL_NAME 0 |
Force the use of M_ prefixed macros for M*LIB.