Esc

storage_allocator

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

Ignores individual frees into owned blocks, delegating every other operation.

Signature

storage_allocator :: (
    mode: Allocator_Mode,
    size: s64,
    old_size: s64,
    old: *void,
    data: *void
) -> *void

See also