Skip to documentation
SLOP

tiny.preserves.freeValueDeep

Reference tiny.preserves freeValueDeep

Defined in tiny.preserves.

Frees a value's compound storage all the way down: records, sequences, sets, dictionaries and the cells of the four pattern forms.

Called byCallsNo direct callersownershipfreeValueDeeptiny.preservesfreeValueDeep
Static calls · unresolved targets: 0 · external targets: 0.

Source

Source: lib/preserves/src/any.zig:112

zig
/// Frees a value's compound storage all the way down: records, sequences, sets, dictionaries and/// the cells of the four pattern forms. Code that owns a tree's structure and borrows its text/// calls it, as the pattern conversions and `toText` do. The call also frees the digits of every/// integer too large for 128 bits. The call leaves the bytes of strings, byte strings and symbols,/// the names of binds, and embedded payloads. `Value.deinit` frees all of those too, so it fits a/// tree that owns every byte.pub fn freeValueDeep(alloc: std.mem.Allocator, v: AnyValue) void {    ownership.freeValueDeep(embedded_mod.AnyEmbedded, alloc, v);}

Source: lib/preserves/src/root.zig:186

zig
pub const freeValueDeep = any.freeValueDeep;

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433