diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-09-29 09:28:28 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-09-29 09:28:28 -0500 |
commit | 0e648c7c62944cd81aa57f10ac01cdabe2f2b7e0 (patch) | |
tree | a2a0912e33e7a18f6c9e32e5e4b5fb0a4ba622bc /src/fud_mem.cpp | |
parent | fa4b4097d3283e1d6e6376c70910e245f0b1f6ec (diff) |
Remember various settings.
Diffstat (limited to 'src/fud_mem.cpp')
-rw-r--r-- | src/fud_mem.cpp | 19 |
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 |