mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-15 12:39:52 +03:00
13 lines
207 B
Zig
13 lines
207 B
Zig
const Object = @This();
|
|
|
|
const std = @import("std");
|
|
const mem = std.mem;
|
|
|
|
const Allocator = mem.Allocator;
|
|
|
|
name: []const u8,
|
|
|
|
pub fn deinit(self: *Object, gpa: Allocator) void {
|
|
gpa.free(self.name);
|
|
}
|