26#define XMEMPOOL_VERSION_MAJOR 1
31#define XMEMPOOL_VERSION_MINOR 1
36#define XMEMPOOL_VERSION_PATCH 2
41#define XMEMPOOL_VERSION_STRING "1.1.2"
void xmem_clean_up()
Clean up global resources used by xmempool.
char * xmem_pool_handle
Handle type for memory pools.
void xmem_print_info(xmem_pool_handle pool)
Print information about the memory pool.
xmem_pool_handle xmem_create_pool(uint32_t block_size)
Create a new memory pool.
char * xmem_alloc(xmem_pool_handle handle)
Allocate a block from the memory pool.
int xmem_free(xmem_pool_handle handle, char *pointer)
Free a block back to the memory pool.
void xmem_destroy_pool(xmem_pool_handle pool)
Destroy a memory pool and free all associated resources.