From 482ea0261cb9f0def49ce3df542b2a7f811262d1 Mon Sep 17 00:00:00 2001 From: Daniel Hader Date: Sun, 14 Jun 2026 12:58:14 -0500 Subject: build and test environment using makefile and basic SDL3 setup --- src/util/alloc.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/util/alloc.h (limited to 'src/util/alloc.h') diff --git a/src/util/alloc.h b/src/util/alloc.h new file mode 100644 index 0000000..17841e4 --- /dev/null +++ b/src/util/alloc.h @@ -0,0 +1,13 @@ +#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 -- cgit v1.2.3