aboutsummaryrefslogtreecommitdiff
path: root/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'memory.h')
-rw-r--r--memory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/memory.h b/memory.h
index b12f4f9..db48773 100644
--- a/memory.h
+++ b/memory.h
@@ -11,6 +11,6 @@ typedef struct {
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 size, int align);
-int Arena_get_used(Arena a);
+void *alloc(Arena *a, size count, size tsize, size align);
+size Arena_get_used(Arena a);
#endif