Synopsis
typedef struct {
  void *(*alloc)(size_t);
  void (*free)(void *);
} CTL_MEMORY_ALLOCATOR_t;
Description

CTL_MEMORY_ALLOCATOR_t defines a standard memory allocator that can allocate and free memory.

Structure
alloc
Allocates memory.
free
Frees memory.