Remove growing_arena and use base_arena

This commit is contained in:
2024-06-02 01:17:03 +01:00
parent 36bc8ab54a
commit 61c29ee564
2 changed files with 22 additions and 157 deletions

View File

@@ -8,7 +8,7 @@
extern "C" {
#endif // __cplusplus
typedef struct growing_arena Arena;
typedef struct arena Arena;
bool wapp_mem_arena_init(Arena **arena, u64 base_capacity);
void *wapp_mem_arena_alloc(Arena *arena, u64 size);