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