SBgl 0.1.0
A graphics framework in C99
Loading...
Searching...
No Matches
SblArenaBlock Struct Reference

A single block of memory in the arena. More...

#include <sbl_arena.h>

Collaboration diagram for SblArenaBlock:

Data Fields

uint64_t size
 
uint64_t offset
 
struct SblArenaBlocknext
 
uint64_t _padding
 

Detailed Description

A single block of memory in the arena.

Definition at line 34 of file sbl_arena.h.

Field Documentation

◆ _padding

uint64_t SblArenaBlock::_padding

Ensure 16-byte alignment of header.

Definition at line 38 of file sbl_arena.h.

◆ next

struct SblArenaBlock* SblArenaBlock::next

Pointer to the next block in the chain.

Definition at line 37 of file sbl_arena.h.

◆ offset

uint64_t SblArenaBlock::offset

Current allocation offset.

Definition at line 36 of file sbl_arena.h.

◆ size

uint64_t SblArenaBlock::size

Total capacity of this block.

Definition at line 35 of file sbl_arena.h.


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