diff options
Diffstat (limited to 'src/HangulData.zig')
| -rw-r--r-- | src/HangulData.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HangulData.zig b/src/HangulData.zig index 5eee427..048841d 100644 --- a/src/HangulData.zig +++ b/src/HangulData.zig | |||
| @@ -48,6 +48,6 @@ pub fn deinit(self: *const Self) void { | |||
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | /// Returns the Hangul syllable type for `cp`. | 50 | /// Returns the Hangul syllable type for `cp`. |
| 51 | pub inline fn syllable(self: Self, cp: u21) Syllable { | 51 | pub fn syllable(self: Self, cp: u21) Syllable { |
| 52 | return @enumFromInt(self.s2[self.s1[cp >> 8] + (cp & 0xff)]); | 52 | return @enumFromInt(self.s2[self.s1[cp >> 8] + (cp & 0xff)]); |
| 53 | } | 53 | } |