Account for realloc moving the memory in gebs_arena_realloc()

This commit is contained in:
kamkow1
2025-05-19 23:55:14 +02:00
parent 78732d1aef
commit c1e0a5ec35
3 changed files with 23 additions and 20 deletions

View File

@ -8,7 +8,7 @@ typedef struct {
int main(void)
{
Gebs_Arena *arena = gebs_arena_make(1024);
Gebs_Arena *arena = gebs_arena_make(sizeof(int));
defer { gebs_arena_destroy(arena); }
Ints ints = {0};