Basic module

push_allocator

procedure · 2 overloadsSource
push_allocator :: (allocator: Allocator)

Parameters

allocator: Allocator
push_allocator :: (proc: Allocator_Proc, data: *void)

Makes Allocator.{proc, data} the context.allocator until the end of the enclosing scope.

Parameters

proc: Allocator_Proc
the allocator procedure.
data: *void
handed to proc on every call.

See also