diff options
| author | 2024-06-26 13:56:44 -0400 | |
|---|---|---|
| committer | 2024-06-26 13:56:44 -0400 | |
| commit | 339eaebfe4242db4f30e41c13c5cd35cc80750b0 (patch) | |
| tree | a9e55d10b6f504830de6a4882c131945f2d9ad07 /src/CanonData.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/CanonData.zig')
| -rw-r--r-- | src/CanonData.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CanonData.zig b/src/CanonData.zig index be2b381..05b9017 100644 --- a/src/CanonData.zig +++ b/src/CanonData.zig | |||
| @@ -56,11 +56,11 @@ pub fn deinit(self: *Self) void { | |||
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | /// Returns canonical decomposition for `cp`. | 58 | /// Returns canonical decomposition for `cp`. |
| 59 | pub inline fn toNfd(self: Self, cp: u21) []const u21 { | 59 | pub fn toNfd(self: Self, cp: u21) []const u21 { |
| 60 | return self.nfd[cp]; | 60 | return self.nfd[cp]; |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | // Returns the primary composite for the codepoints in `cp`. | 63 | // Returns the primary composite for the codepoints in `cp`. |
| 64 | pub inline fn toNfc(self: Self, cps: [2]u21) ?u21 { | 64 | pub fn toNfc(self: Self, cps: [2]u21) ?u21 { |
| 65 | return self.nfc.get(cps); | 65 | return self.nfc.get(cps); |
| 66 | } | 66 | } |