|
solidc
Robust collection of general-purpose cross-platform C libraries and data structures designed for rapid and safe development in C
|
#include <arena.h>
Public Attributes | |
| char * | end |
| bool | is_static |
Block descriptor. For overflow blocks this struct is stored at the start of the heap allocation itself (co-located), so each new block costs one call to aligned_alloc_xp instead of two. The usable region begins at block->base.
The first block uses first_block inside Arena and points into a caller- or TLS-provided buffer, so is_static is set and its memory is never freed.
| char* ArenaBlock::end |
| bool ArenaBlock::is_static |