DoxigAlpha

deinit

Release all allocated memory.

Function parameters

Parameters

#
self:*Self

A MultiArrayList stores a list of a struct or tagged union type.

Functions

#
MultiArrayList
A MultiArrayList stores a list of a struct or tagged union type.

Source

Implementation

#
pub fn deinit(self: *Self, gpa: Allocator) void {
    gpa.free(self.allocatedBytes());
    self.* = undefined;
}