From 500e1f9892dd41419663e9f72cf47bab5b2aca0b Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Mon, 23 Sep 2024 00:33:33 -0500 Subject: Saving work. --- 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