#ifndef INCLUDE_ALLOCATOR #define INCLUDE_ALLOCATOR #include typedef struct t_allocator { void* memory; uint64_t cursor; uint64_t size; } allocator; allocator create_allocator(uint64_t size); void* allocator_alloc(allocator* al, uint64_t size); void destroy_allocator(allocator* al); #endif