diff options
Diffstat (limited to '04_exercise/arena/arena_list.h')
-rw-r--r-- | 04_exercise/arena/arena_list.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/04_exercise/arena/arena_list.h b/04_exercise/arena/arena_list.h index 86bf805..387f881 100644 --- a/04_exercise/arena/arena_list.h +++ b/04_exercise/arena/arena_list.h @@ -17,9 +17,12 @@ typedef struct List { Node * last; } List; // This structure manages an arena / memory slab to be used +// Should we have a free list or just a bit set relative to the size of the slab? typedef struct ArenaList { List freeList; List activeList; + Node * arena; + size_t size; } ArenaList; //Initializes the node array |