#ifndef LEO_ALLOC_H #define LEO_ALLOC_H #include typedef struct { void *(*alloc)(size_t size); void *(*realloc)(void *ptr, size_t new_size); void (*free)(void *ptr); void *ctx; } LEO_Allocator; #endif