From 7da829d48f9059c83ab9cada2c850621e8bbd3f3 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Sun, 22 Sep 2024 12:41:28 -0500 Subject: Basics of library. --- test/test_common.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/test_common.cpp (limited to 'test/test_common.cpp') diff --git a/test/test_common.cpp b/test/test_common.cpp new file mode 100644 index 0000000..a03c8db --- /dev/null +++ b/test/test_common.cpp @@ -0,0 +1,18 @@ +#include "fud_memory.hpp" +#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