summaryrefslogtreecommitdiff
path: root/tests/allocator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/allocator.hpp')
-rw-r--r--tests/allocator.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/allocator.hpp b/tests/allocator.hpp
new file mode 100644
index 0000000..a2022fe
--- /dev/null
+++ b/tests/allocator.hpp
@@ -0,0 +1,7 @@
+#pragma once
+
+#include <stddef.h>
+
+void* memory_allocate(size_t size);
+size_t memory_size(void* ptr);
+void memory_deallocate(void* ptr);