From 4d2b2f025102dcd1d2c76610edf4cbcf060c90bd Mon Sep 17 00:00:00 2001 From: Jason Hilder Date: Sat, 8 Feb 2025 08:50:03 +0200 Subject: [PATCH] I am a real noob. --- jh_mem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jh_mem.h b/jh_mem.h index 6314539..97958cd 100644 --- a/jh_mem.h +++ b/jh_mem.h @@ -49,11 +49,11 @@ void *arena_alloc_align(Arena *a, usize size, usize align); void *arena_alloc(Arena *a, usize size); // Free the allocated arena -void arena_free(&Arena arena); +void arena_free(Arena &arena); // "clears" the arena by placing the offset to the beggining. // Allowing reuse of arena without having to free/alloc. -void arena_reset(&Arena arena); +void arena_reset(Arena &arena); // Initializes an arena instance. // On malloc fail it will return the arena with data as NULL