void * Alloc(ALLOCATOR *allocator, size_t size)
Allocate a block with the specified size.
Definition: allocator.c:32
void * ALLOCATOR
Opaque data type for the default memory allocator.
Definition: allocator.h:20
void Free(ALLOCATOR *allocator, void *block)
Free a block that was allocated by the specified allocator.
Definition: allocator.c:44