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/CaseData.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/CaseData.zig') diff --git a/src/CaseData.zig b/src/CaseData.zig index 260637a..3a35fdd 100644 --- a/src/CaseData.zig +++ b/src/CaseData.zig @@ -81,7 +81,7 @@ pub fn deinit(self: *const Self) void { } // Returns true if `cp` is either upper, lower, or title case. -pub inline fn isCased(self: Self, cp: u21) bool { +pub fn isCased(self: Self, cp: u21) bool { return self.prop_s2[self.prop_s1[cp >> 8] + (cp & 0xff)] & 4 == 4; } @@ -109,7 +109,7 @@ test "isUpperStr" { } /// Returns uppercase mapping for `cp`. -pub inline fn toUpper(self: Self, cp: u21) u21 { +pub fn toUpper(self: Self, cp: u21) u21 { return self.case_map[cp][0]; } @@ -167,7 +167,7 @@ test "isLowerStr" { } /// Returns lowercase mapping for `cp`. -pub inline fn toLower(self: Self, cp: u21) u21 { +pub fn toLower(self: Self, cp: u21) u21 { return self.case_map[cp][1]; } -- cgit v1.2.3