deinit
Parameters
- self:*Source
- *Source
Source
Implementation
pub fn deinit(self: *Source) void {
defer self.* = undefined;
if (self.allocator) |alloc| {
alloc.free(self.bytes);
}
}Source
pub fn deinit(self: *Source) void {
defer self.* = undefined;
if (self.allocator) |alloc| {
alloc.free(self.bytes);
}
}