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/CombiningData.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/CombiningData.zig') diff --git a/src/CombiningData.zig b/src/CombiningData.zig index 16b923f..44140f8 100644 --- a/src/CombiningData.zig +++ b/src/CombiningData.zig @@ -39,11 +39,11 @@ pub fn deinit(self: *const Self) void { } /// Returns the canonical combining class for a code point. -pub inline fn ccc(self: Self, cp: u21) u8 { +pub fn ccc(self: Self, cp: u21) u8 { return self.s2[self.s1[cp >> 8] + (cp & 0xff)]; } /// True if `cp` is a starter code point, not a combining character. -pub inline fn isStarter(self: Self, cp: u21) bool { +pub fn isStarter(self: Self, cp: u21) bool { return self.s2[self.s1[cp >> 8] + (cp & 0xff)] == 0; } -- cgit v1.2.3