diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-05-09 02:48:06 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-05-09 02:48:06 +0200 |
commit | 085b77730a553ce9769fcc76b68772dbde564004 (patch) | |
tree | 328ae4f715300cb5c028ad0e7ffc2e13a5c9c72a /lib/alloc/heapalloc.c | |
parent | 20fa17a5f2a286f44bdafff6dc4bb58e7667fe46 (diff) |
Add custom allocator support to u8upper()
Diffstat (limited to 'lib/alloc/heapalloc.c')
-rw-r--r-- | lib/alloc/heapalloc.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/alloc/heapalloc.c b/lib/alloc/heapalloc.c deleted file mode 100644 index 0a698f0..0000000 --- a/lib/alloc/heapalloc.c +++ /dev/null @@ -1,12 +0,0 @@ -#include <stdlib.h> - -#include "alloc.h" - -void * -heapalloc(void *, void *ptr, size_t, size_t new) -{ - if (new > 0) - return realloc(ptr, new); - free(ptr); - return nullptr; -} |