blob: 8c2b5240804240a093ae7952d1edfb1cd839c9e6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef _GLOBAL_ARENA
#define _GLOBAL_ARENA
#include "BumpAlloc.h"
#include "Array.h"
// Global bump arena
extern BumpArena g_arena;
void* BG_alloc(usize size);
int BG_resizeable(void* ptr);
Result BG_resize(usize size);
Result BG_free();
#endif /* _GLOBAL_ARENA */
|