From 29d1d74d7aab8354be0c01792c4b355f34565676 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 25 Oct 2024 14:05:07 -0400 Subject: Move unistr header out of tomo header --- stdlib/text.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'stdlib/text.c') diff --git a/stdlib/text.c b/stdlib/text.c index 96b0c2cd..7b579f5e 100644 --- a/stdlib/text.c +++ b/stdlib/text.c @@ -56,6 +56,7 @@ #include #include +#include #include #include #include @@ -846,7 +847,7 @@ public int32_t Text$get_grapheme_fast(TextIter_t *state, int64_t index) return 0; } -public ucs4_t Text$get_main_grapheme_fast(TextIter_t *state, int64_t index) +public uint32_t Text$get_main_grapheme_fast(TextIter_t *state, int64_t index) { return MAIN_GRAPHEME_CODEPOINT(Text$get_grapheme_fast(state, index)); } -- cgit v1.2.3