From 53c4dcf374c66f1e9190f5a62a52d02fe11a69e6 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Wed, 16 Oct 2024 22:25:08 -0500 Subject: First crack at allocators. --- include/fud_memory.hpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'include/fud_memory.hpp') 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 -- cgit v1.2.3