| ... | @@ -36,7 +36,7 @@ pub const LineInfo = struct { | ... | @@ -36,7 +36,7 @@ pub const LineInfo = struct { |
| 36 | file_name: []const u8, | 36 | file_name: []const u8, |
| 37 | allocator: ?*mem.Allocator, | 37 | allocator: ?*mem.Allocator, |
| 38 | | 38 | |
| 39 | fn deinit(self: LineInfo) void { | 39 | pub fn deinit(self: LineInfo) void { |
| 40 | const allocator = self.allocator orelse return; | 40 | const allocator = self.allocator orelse return; |
| 41 | allocator.free(self.file_name); | 41 | allocator.free(self.file_name); |
| 42 | } | 42 | } |
| ... | @@ -47,7 +47,7 @@ pub const SymbolInfo = struct { | ... | @@ -47,7 +47,7 @@ pub const SymbolInfo = struct { |
| 47 | compile_unit_name: []const u8 = "???", | 47 | compile_unit_name: []const u8 = "???", |
| 48 | line_info: ?LineInfo = null, | 48 | line_info: ?LineInfo = null, |
| 49 | | 49 | |
| 50 | fn deinit(self: @This()) void { | 50 | pub fn deinit(self: @This()) void { |
| 51 | if (self.line_info) |li| { | 51 | if (self.line_info) |li| { |
| 52 | li.deinit(); | 52 | li.deinit(); |
| 53 | } | 53 | } |