void ra8_img_arena_free(void *p)
stb_image STBI_FREE hook: release a block; auto-reset when none live.
void * ra8_img_arena_realloc_sized(void *p, size_t oldsz, size_t newsz)
stb_image STBI_REALLOC_SIZED hook: fresh-allocate, copy, free old.
void ra8_img_arena_bind(ra8_img_arena_t *arena)
Bind arena as the active scratch for subsequent decode allocations.
void * ra8_img_arena_malloc(size_t n)
stb_image STBI_MALLOC hook: bump n bytes from the bound arena.
void ra8_img_arena_unbind(void)
Unbind the active arena; subsequent allocation hooks fail with nullptr.
Zero-heap raster image decode + scale + blit for reflow (#106).
Caller-owned bump arena backing a single image decode.