|
SBgl 0.1.0
A graphics framework in C99
|
Internal helpers for accessing context state from library subsystems. More...


Go to the source code of this file.
Functions | |
| SblArena * | sbgl_GetContextArena (sbgl_Context *ctx) |
| Retrieves the persistent arena associated with a context. | |
Internal helpers for accessing context state from library subsystems.
These declarations are for internal use only and must not be included by external code.
Definition in file sbgl_context_internal.h.
| SblArena * sbgl_GetContextArena | ( | sbgl_Context * | ctx | ) |
Retrieves the persistent arena associated with a context.
Subsystems that need a lifetime-bound allocation region (e.g., the voxel engine) use this arena instead of malloc to remain consistent with the library's memory model.
| ctx | The engine context. |
Definition at line 62 of file sbgl_core.c.