Flat_Pool module

get

procedure · 1 overloadSource

Returns nbytes bytes aligned to the pool's alignment, initializing the pool first if needed, or null if the OS refuses to commit the pages.

Exhausting the reserved range fails an assert instead. The memory is uninitialized.

get :: (pool: *Flat_Pool, nbytes: s64) -> *void

Returns nbytes bytes aligned to the pool's alignment, initializing the pool first if needed, or null if the OS refuses to commit the pages.

Exhausting the reserved range fails an assert instead. The memory is uninitialized.

Parameters

pool: *Flat_Pool
nbytes: s64

Returns

*void

See also