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.
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
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |