diff options
| author | 2024-06-26 13:56:44 -0400 | |
|---|---|---|
| committer | 2024-06-26 13:56:44 -0400 | |
| commit | 339eaebfe4242db4f30e41c13c5cd35cc80750b0 (patch) | |
| tree | a9e55d10b6f504830de6a4882c131945f2d9ad07 /src/WidthData.zig | |
| parent | Added changes when casefolded back (diff) | |
| download | zg-339eaebfe4242db4f30e41c13c5cd35cc80750b0.tar.gz zg-339eaebfe4242db4f30e41c13c5cd35cc80750b0.tar.xz zg-339eaebfe4242db4f30e41c13c5cd35cc80750b0.zip | |
Removed all inlines
Diffstat (limited to 'src/WidthData.zig')
| -rw-r--r-- | src/WidthData.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WidthData.zig b/src/WidthData.zig index cf31b7f..1f1ae6f 100644 --- a/src/WidthData.zig +++ b/src/WidthData.zig | |||
| @@ -52,7 +52,7 @@ pub fn deinit(self: *const Self) void { | |||
| 52 | /// 3, where BACKSPACE and DELETE return -1 and 3-em-dash returns 3. C0/C1 | 52 | /// 3, where BACKSPACE and DELETE return -1 and 3-em-dash returns 3. C0/C1 |
| 53 | /// control codes return 0. If `cjk` is true, ambiguous code points return 2, | 53 | /// control codes return 0. If `cjk` is true, ambiguous code points return 2, |
| 54 | /// otherwise they return 1. | 54 | /// otherwise they return 1. |
| 55 | pub inline fn codePointWidth(self: Self, cp: u21) i3 { | 55 | pub fn codePointWidth(self: Self, cp: u21) i3 { |
| 56 | return self.s2[self.s1[cp >> 8] + (cp & 0xff)]; | 56 | return self.s2[self.s1[cp >> 8] + (cp & 0xff)]; |
| 57 | } | 57 | } |
| 58 | 58 | ||