remove the free function entirely. all allocators are now expected to
implement reset instead. I reallized I never ever want to free an
individual allocation ever again. The forever_allocator is a special
case wherEreset is a no-op. The arena allocator was deleted. It will be
replaced soon.
This commit is contained in:
2025-12-02 20:21:12 +01:00
parent ef8d51f153
commit 01b8150625
11 changed files with 62 additions and 385 deletions
-1
View File
@@ -48,6 +48,5 @@ Test(dynamic_arrays, pop) {
int num = dyn_array_pop(numbers);
cr_assert_eq(num, 50-i);
}
dyn_array_destroy(numbers);
}
}