v1.1.2 Minor changes; check result of alloc in arena_copy()

This commit is contained in:
seajee
2026-01-10 17:42:14 +01:00
parent 1b7e73d3cb
commit 2d465afc7f
2 changed files with 41 additions and 32 deletions

2
test.c
View File

@@ -25,6 +25,8 @@ void arena_print(Arena arena)
int main(void)
{
printf("Alignment: %zu\n", ARENA_ALIGNMENT);
Arena a = {0};
arena_alloc(&a, 4012);