aboutsummaryrefslogtreecommitdiff
path: root/memory.h
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-07-23 15:25:22 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-07-23 15:25:22 +0200
commit53e9e371a16ae2d167f1fc2577dff2c2426eed68 (patch)
treee4b1d7463bc1b15eb677e263d4102892da3d58ab /memory.h
parent2850fd0e8389a95acf12b8f66042b955cabf2d50 (diff)
misc(json): benchmark
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