Esc

arena_take

procedureextensionsince 0.36.1Source
  • macOS: arena_take works on macOS
  • Linux: arena_take works on Linux
  • Windows: arena_take works on Windows
  • Wasm: arena_take works on Wasm

Bump-allocates from the current region, moving to a scrap region or a new block when full.

Signature

arena_take :: (root: *Storage_Block, needed: s64) -> *void

See also