Skip to documentation
SLOP

tiny.alloc.temporaryScratchAllocator

Reference tiny.alloc temporaryScratchAllocator

Defined in tiny.alloc.

Called byCallstest sourcelib.alloc.src.testtest: allocator policy separates fast...private sourcelib.alloc.src.policyplatformProcessAllocatortiny.alloctestIntegrationAllocatortiny.alloctemporaryScratchAllocator
Static calls · unresolved targets: 0 · external targets: 0.

Source

Source: lib/alloc/src/policy.zig:51

zig
pub fn temporaryScratchAllocator() Allocator {    if (comptime builtin.is_test) return testIntegrationAllocator();    return platformProcessAllocator();}

Source: lib/alloc/src/root.zig:53

zig
pub const temporaryScratchAllocator = policy.temporaryScratchAllocator;

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433