Add stack allocator
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "array.h"
|
||||
|
||||
#include "../core/memory.h"
|
||||
#include "../memory//memory.h"
|
||||
|
||||
typedef struct BzArrayHead {
|
||||
i32 capacity;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "heap.h"
|
||||
|
||||
#include "../core/memory.h"
|
||||
#include "../memory/memory.h"
|
||||
|
||||
typedef struct BzHeapHead {
|
||||
i32 capacity;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "object_pool.h"
|
||||
|
||||
#include "../core/memory.h"
|
||||
#include "../memory/memory.h"
|
||||
|
||||
typedef struct BzObjectPool {
|
||||
void *objects;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "spatial_grid.h"
|
||||
|
||||
#include "../core/memory.h"
|
||||
#include "../memory/memory.h"
|
||||
#include "array.h"
|
||||
#include "object_pool.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user