typedef struct { void *(*alloc)(size_t); void (*free)(void *); } CTL_MEMORY_ALLOCATOR_t;
CTL_MEMORY_ALLOCATOR_t defines a standard memory allocator that can allocate and free memory.