|
Luma 0.1.0
A low-level compiled alternative to C, C++, and more!
|
Arena allocator structure. More...
#include <memory.h>

Public Attributes | |
| size_t | offset |
| Buffer * | buffer |
| Buffer * | head |
| size_t | next_buffer_size |
| size_t | total_allocated |
Arena allocator structure.
| Buffer* ArenaAllocator::buffer |
Pointer to the current active buffer.
| Buffer* ArenaAllocator::head |
Pointer to the first buffer in the chain.
| size_t ArenaAllocator::next_buffer_size |
Size to use for the next buffer allocation.
| size_t ArenaAllocator::offset |
Current offset in the active buffer.
| size_t ArenaAllocator::total_allocated |
Total bytes allocated across all buffers.