#include <axutil_allocator.h>
Public Attributes | |
| void *(* | malloc_fn )(struct axutil_allocator *allocator, size_t size) |
| void *(* | realloc )(struct axutil_allocator *allocator, void *ptr, size_t size) |
| void(* | free_fn )(struct axutil_allocator *allocator, void *ptr) |
| void * | local_pool |
| void * | global_pool |
| void * | current_pool |
Encapsulator for memory allocating routines
|
|
memory pool in use currently |
|
|
frees memory
|
|
|
global memory pool |
|
|
local memory pool |
|
|
allocates memory
|
|
|
re-llocates memory
|
1.4.6