diff options
Diffstat (limited to 'lib/alloc/alloc_arena.c')
-rw-r--r-- | lib/alloc/alloc_arena.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/alloc/alloc_arena.c b/lib/alloc/alloc_arena.c new file mode 100644 index 0000000..9ddc6e2 --- /dev/null +++ b/lib/alloc/alloc_arena.c @@ -0,0 +1,9 @@ +#include <stdlib.h> + +#include "alloc.h" + +void * +alloc_arena(void *ctx, void *ptr, size_t old, size_t new, size_t align) +{ + return arena_realloc(ctx, ptr, old, new, 1, align); +} |