cdsa
Arena allocators and friends
Loading...
Searching...
No Matches
Arena Struct Reference

Represents an arena allocator. More...

#include <arena.h>

Data Fields

void * data
 Pointer to the base memory region.
 
void * last
 Pointer to the last allocated object.
 
char * begin
 Pointer to the beginning of the available memory.
 
char * end
 Pointer to the end of the available memory.
 

Detailed Description

Represents an arena allocator.

An arena manages a fixed block of memory, enabling fast allocations without explicit cleanup. Memory is allocated sequentially, allowing for recycling of previously allocated regions.


The documentation for this struct was generated from the following file: