diff options
Diffstat (limited to 'src/walk.zig')
| -rw-r--r-- | src/walk.zig | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/walk.zig b/src/walk.zig index dc743a4d..d7ee63b3 100644 --- a/src/walk.zig +++ b/src/walk.zig @@ -1051,7 +1051,6 @@ const DecodeError = error{ EndOfDump, BadDump, Incompatible, OutOfMemory }; /// `image` holds with `allocs.image`. const Allocators = struct { image: ?std.mem.Allocator = null, - pdf: ?std.mem.Allocator = null, terminal: ?std.mem.Allocator = null, }; @@ -1281,8 +1280,8 @@ pub fn Load(comptime roots: []const type) type { out.* = .{ .raw = raw }; return; } - // A field this build compiles out (a PDF slot where there is no - // MuPDF): passed over, said only when it held something. + // A field this build compiles out (a void field): passed over, + // said only when it held something. if (comptime kindOf(Canon(T)) == .void) if (!l.same and l.src[ty].kind != .void) { const held = l.src[ty].kind != .optional or (l.at < l.bytes.len and l.bytes[l.at] != 0); try l.skip(ty); @@ -2378,8 +2377,8 @@ pub const Get = struct { if (comptime allocOf(T, field)) |which| if (@field(l.allocs, which)) |a| { l.gpa = a; }; - // A field this build compiles out (a PDF slot where there is no - // MuPDF): passed over, said when it held something. + // A field this build compiles out (a void field): passed over, + // said when it held something. if (comptime kindOf(Canon(F)) == .void) { if ((try slotOf(c)).tag != .none) l.note("{s}: not in this build", .{l.field}); return; |
