Skip to content

Commit

Permalink
update to Zig 2024.10-mach (helps hexops/mach#1276)
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gutekanst <[email protected]>
  • Loading branch information
slimsag committed Oct 4, 2024
1 parent 288ab78 commit f4f1ba5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/harfbuzz.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1213,8 +1213,8 @@ pub const UnicodeIterator = struct {
};

pub const Variation = extern struct {
tag: u32,
value: f32,
_tag: u32,
_value: f32,

pub fn fromString(str: []const u8) ?Variation {
var v: Variation = undefined;
Expand All @@ -1229,11 +1229,11 @@ pub const Variation = extern struct {
}

pub fn tag(self: Variation) Tag {
return .{ .handle = self.tag };
return .{ .handle = self._tag };
}

pub fn value(self: Variation) f32 {
return self.value;
return self._value;
}
};

Expand Down

0 comments on commit f4f1ba5

Please sign in to comment.