DoxigAlpha

deinit

Function parameters

Parameters

#

The data stored at byte offset 0 when ZOIR is stored in a file.

Types

#
Header
The data stored at byte offset 0 when ZOIR is stored in a file.

Functions in this namespace

Functions

#

Source

Implementation

#
pub fn deinit(zoir: Zoir, gpa: Allocator) void {
    var nodes = zoir.nodes;
    nodes.deinit(gpa);

    gpa.free(zoir.extra);
    gpa.free(zoir.limbs);
    gpa.free(zoir.string_bytes);
    gpa.free(zoir.compile_errors);
    gpa.free(zoir.error_notes);
}