diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-10-25 14:05:07 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-10-25 14:05:07 -0400 |
| commit | 29d1d74d7aab8354be0c01792c4b355f34565676 (patch) | |
| tree | eb332a93a5002f5eeaa6b9b03d3991205d7ad904 /stdlib/text.c | |
| parent | 67702b2d77d8474c2a7fe7f1816f4eb9a0a98af1 (diff) | |
Move unistr header out of tomo header
Diffstat (limited to 'stdlib/text.c')
| -rw-r--r-- | stdlib/text.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <stdlib.h> #include <sys/param.h> +#include <unistr.h> #include <unicase.h> #include <unictype.h> #include <unigbrk.h> @@ -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)); } |
