aboutsummaryrefslogtreecommitdiff
path: root/stdlib/text.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-10-25 14:05:07 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-10-25 14:05:07 -0400
commit29d1d74d7aab8354be0c01792c4b355f34565676 (patch)
treeeb332a93a5002f5eeaa6b9b03d3991205d7ad904 /stdlib/text.h
parent67702b2d77d8474c2a7fe7f1816f4eb9a0a98af1 (diff)
Move unistr header out of tomo header
Diffstat (limited to 'stdlib/text.h')
-rw-r--r--stdlib/text.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/stdlib/text.h b/stdlib/text.h
index 43eee1cc..e915eefd 100644
--- a/stdlib/text.h
+++ b/stdlib/text.h
@@ -6,7 +6,6 @@
#include <stdbool.h>
#include <printf.h>
#include <stdint.h>
-#include <unistr.h>
#include "datatypes.h"
#include "integers.h"
@@ -55,7 +54,7 @@ Array_t Text$lines(Text_t text);
Text_t Text$join(Text_t glue, Array_t pieces);
Text_t Text$repeat(Text_t text, Int_t count);
int32_t Text$get_grapheme_fast(TextIter_t *state, int64_t index);
-ucs4_t Text$get_main_grapheme_fast(TextIter_t *state, int64_t index);
+uint32_t Text$get_main_grapheme_fast(TextIter_t *state, int64_t index);
static inline int32_t Text$get_grapheme(Text_t text, int64_t index)
{