Current documentation for: 1.0.0
libcmemman
is a library that provides some useful technologies for managing memory in a more efficient way in C.
typedef struct _memory_pool {
ptr_info_t **ptr_pool;
int scope_depth;
} mempool_t;
typedef void (*destructor_t)(void *);
typedef struct _ptr_info {
void *ptr;
destructor_t destructor;
} ptr_info_t;