some progress on the arena allocator

This commit is contained in:
2025-11-18 21:54:38 +01:00
parent 78cc6c5cae
commit d4451196f6
4 changed files with 94 additions and 7 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ void borrow_allocator_free(borrow_allocator_t *this, void *old_ptr) {
free(node);
}
void borrow_allocator_reset(borrow_allocator_t *this) {
void borrow_allocator_free_all(borrow_allocator_t *this) {
if (this->head == NULL) {
return;
}