summaryrefslogtreecommitdiff
path: root/src/fud_mem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fud_mem.cpp')
-rw-r--r--src/fud_mem.cpp19
1 files changed, 19 insertions, 0 deletions
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 <fud_memory.hpp>
+
+#include <cstdlib>
+
+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