From 0e648c7c62944cd81aa57f10ac01cdabe2f2b7e0 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Sun, 29 Sep 2024 09:28:28 -0500 Subject: Remember various settings. --- src/fud_mem.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/fud_mem.cpp (limited to 'src/fud_mem.cpp') diff --git a/src/fud_mem.cpp b/src/fud_mem.cpp new file mode 100644 index 0000000..d8f6673 --- /dev/null +++ b/src/fud_mem.cpp @@ -0,0 +1,19 @@ +#include + +#include + +namespace fud { + +void* fudAlloc(size_t size) { + return malloc(size); +} + +void* fudRealloc(void* ptr, size_t size) { + return realloc(ptr, size); +} + +void fudFree(void* ptr) { + return free(ptr); +} + +} // namespace fud -- cgit v1.2.3