|
libarena
Arena memory management library
|
#include <arena.h>
Data Fields | |
| size_t | idx |
| The index of the block within the arena. | |
| size_t | size |
| The size of the block in bytes. | |
| int | tag |
| An optional tag associated with the block. | |
| ArenaStatus | status |
| The status of the block (free, used, or undefined). | |
| struct arena_block_s * | next |
| A pointer to the next block in the arena. | |
| struct arena_block_s * | prev |
| A pointer to the previous block in the arena. | |
| size_t idx |
The index of the block within the arena.
| struct arena_block_s* next |
A pointer to the next block in the arena.
| struct arena_block_s* prev |
A pointer to the previous block in the arena.
| size_t size |
The size of the block in bytes.
| ArenaStatus status |
The status of the block (free, used, or undefined).
| int tag |
An optional tag associated with the block.