From 339eaebfe4242db4f30e41c13c5cd35cc80750b0 Mon Sep 17 00:00:00 2001 From: Jose Colon Rodriguez Date: Wed, 26 Jun 2024 13:56:44 -0400 Subject: Removed all inlines --- src/WidthData.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/WidthData.zig') 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 { /// 3, where BACKSPACE and DELETE return -1 and 3-em-dash returns 3. C0/C1 /// control codes return 0. If `cjk` is true, ambiguous code points return 2, /// otherwise they return 1. -pub inline fn codePointWidth(self: Self, cp: u21) i3 { +pub fn codePointWidth(self: Self, cp: u21) i3 { return self.s2[self.s1[cp >> 8] + (cp & 0xff)]; } -- cgit v1.2.3