libarena
Arena memory management library
Loading...
Searching...
No Matches
arena_block_s Struct Reference

#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_snext
 A pointer to the next block in the arena.
 
struct arena_block_sprev
 A pointer to the previous block in the arena.
 

Field Documentation

◆ idx

size_t idx

The index of the block within the arena.

◆ next

struct arena_block_s* next

A pointer to the next block in the arena.

◆ prev

struct arena_block_s* prev

A pointer to the previous block in the arena.

◆ size

size_t size

The size of the block in bytes.

◆ status

ArenaStatus status

The status of the block (free, used, or undefined).

◆ tag

int tag

An optional tag associated with the block.


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