libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
#include <gimbal_arena_allocator.h>
Data Fields | |
GblArenaAllocatorPage * | pActivePage |
size_t | bytesUsed |
Represents the current state of a GblArenaAllocator.
GblArenaAllocatorState is an auxiliary struct whose purpose is to capture the current page state associated with a given arena allocator, so that it may be use to "restore" the arena's state later.
This is useful for wanting to make temporary use of an arena's resources, allowing you to free them when you're done.
Definition at line 117 of file gimbal_arena_allocator.h.
GblArenaAllocatorPage* GblArenaAllocatorState::pActivePage |
Definition at line 118 of file gimbal_arena_allocator.h.
size_t GblArenaAllocatorState::bytesUsed |
Definition at line 119 of file gimbal_arena_allocator.h.