aboutsummaryrefslogtreecommitdiff
path: root/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'memory.h')
-rw-r--r--memory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/memory.h b/memory.h
index db48773..1a33452 100644
--- a/memory.h
+++ b/memory.h
@@ -13,4 +13,5 @@ Arena Arena_new(size cap);
#define new(a, T, n) (T *)alloc(a, n, sizeof(T), _Alignof(T))
void *alloc(Arena *a, size count, size tsize, size align);
size Arena_get_used(Arena a);
+void Arena_reset(Arena *a);
#endif