|
libcute 0.1
|
#include <allocator.h>

Public Attributes | |
| void * | self |
| cu_Allocator_AllocFunc | allocFn |
| cu_Allocator_GrowFunc | growFn |
| cu_Allocator_ShrinkFunc | shrinkFn |
| cu_Allocator_FreeFunc | freeFn |
Generic allocator with user-provided callbacks.
| cu_Allocator_AllocFunc cu_Allocator::allocFn |
allocate memory
| cu_Allocator_FreeFunc cu_Allocator::freeFn |
free memory
| cu_Allocator_GrowFunc cu_Allocator::growFn |
grow previously allocated memory
| void* cu_Allocator::self |
implementation specific data
| cu_Allocator_ShrinkFunc cu_Allocator::shrinkFn |
shrink previously allocated memory