v1.0.1 - Prevent name mangling of functions; don't reset region_capacity in arena_free()

This commit is contained in:
seajee
2025-08-02 15:13:38 +02:00
parent e583d87285
commit 4c069c0945
2 changed files with 26 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ int main(void)
int *x = arena_alloc(&a, sizeof(*x) * 32);
float *y = arena_alloc(&a, sizeof(*y) * 512);
arena_free(&a);
arena_free(&a); // The arena can still be reused
return 0;
}
```