diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-10-16 22:25:08 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-10-16 22:25:08 -0500 |
commit | 53c4dcf374c66f1e9190f5a62a52d02fe11a69e6 (patch) | |
tree | ee40277c36fdba58fb06aca87b8ffa67ab5f8558 /include/fud_memory.hpp | |
parent | f3ac764684c64fbdd2094853a80b23e570cd5d9c (diff) |
First crack at allocators.
Diffstat (limited to 'include/fud_memory.hpp')
-rw-r--r-- | include/fud_memory.hpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/fud_memory.hpp b/include/fud_memory.hpp index 62ff81a..97328a9 100644 --- a/include/fud_memory.hpp +++ b/include/fud_memory.hpp @@ -27,16 +27,6 @@ namespace fud { -extern void* fudAlloc(size_t size); -extern void* fudRealloc(void* ptr, size_t size); -extern void fudFree(void* ptr); - -// An allocating function which returns null on failure. -using FudAllocOne = void(*)(size_t); - -// An allocating function which returns null on failure. -using FudAllocMany = void(*)(size_t, size_t); - /** \brief Copies from source to destination count bytes. * * \retcode FudStatus::Success |