34 #define POOL_GROW_AMOUNT 16
unsigned short int SLD_USINT
Definition: types.h:50
SLD_ULINT sld_memory_pool_add(void *ptr)
Adds an object to the memory pool.
Definition: memory.c:102
SLD_BOOL sld_memory_pool_initialized()
Checks whether or not the memory pool is initialized.
Definition: memory.c:58
SLD_SSINT sld_memory_pool_resize(SLD_ULINT new_size)
Resizes the memory pool to the specified size.
Definition: memory.c:73
SLD_ULINT sld_memory_pool_free()
Frees any memory allocated for objects stored in the memory pool.
Definition: memory.c:142
SLD_ULINT sld_memory_pool_size()
Returns the size of the memory pool.
Definition: memory.c:68
signed short int SLD_SSINT
Definition: types.h:47
SLD_USINT SLD_BOOL
Definition: types.h:65
void sld_memory_pool_nuke()
Frees any memory allocated for the initialized memory pool.
Definition: memory.c:162
SLD_ULINT sld_memory_pool_objects()
Returns the total number of objects in the memory pool.
Definition: memory.c:125
SLD_SSINT sld_memory_pool_init(SLD_USINT initial_size)
Initialize a memory pool with the specified size.
Definition: memory.c:36
unsigned long int SLD_ULINT
Definition: types.h:62