|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Descriptor for one caller-owned miniz allocation arena. More...
#include <epub_miniz_alloc.h>
Data Fields | |
| uint8_t * | base |
| Aligned caller workspace, or NULL when inactive. | |
| size_t | capacity |
| Usable bytes; exactly the documented pool size. | |
| uint8_t | initialized |
| 1 after successful init; 0 after deinit. | |
Descriptor for one caller-owned miniz allocation arena.
Initialise with epub_miniz_arena_init, then pass this descriptor as miniz's m_pAlloc_opaque. Treat the fields as read-only. Copying a live descriptor is forbidden because both copies would own the same workspace.
Definition at line 100 of file epub_miniz_alloc.h.
| uint8_t* epub_miniz_arena_t::base |
Aligned caller workspace, or NULL when inactive.
Definition at line 101 of file epub_miniz_alloc.h.
Referenced by internal_cell_at(), internal_end(), internal_header(), internal_in_pool(), internal_next(), internal_ready(), and internal_split().
| size_t epub_miniz_arena_t::capacity |
Usable bytes; exactly the documented pool size.
Definition at line 102 of file epub_miniz_alloc.h.
Referenced by epub_miniz_arena_init(), internal_end(), internal_in_pool(), and internal_ready().
| uint8_t epub_miniz_arena_t::initialized |
1 after successful init; 0 after deinit.
Definition at line 103 of file epub_miniz_alloc.h.
Referenced by internal_ready().