Skip to content

Commit

Permalink
save binary space
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuyadong committed Aug 19, 2024
1 parent b73a03a commit d767bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zoop.zig
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ fn makeFatPtr(comptime I: type, ptr: *anyopaque, vptr: *const anyopaque) I {

fn makeTypeId(comptime T: type) type_id {
return @ptrCast(&(struct {
pub const val: ?T = null;
pub const val: ?*T = null;
}).val);
}

Expand Down

0 comments on commit d767bc5

Please sign in to comment.