diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-09-09 20:10:39 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-09-09 20:10:39 -0400 |
| commit | 25d85a501d0e5fb8bd9a76376e3868713dd56fdb (patch) | |
| tree | 9ba81bb51b41d19284ba02ec1197ae81f31b263c /src/stdlib/text.h | |
| parent | fb216e955f04a803f11953be27e76bd4d2c9e76d (diff) | |
| parent | d64dcab138a34d5f5105e08f0a840f7cb5a1d159 (diff) | |
Merge branch 'main' into table-colonstable-colons
Diffstat (limited to 'src/stdlib/text.h')
| -rw-r--r-- | src/stdlib/text.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/stdlib/text.h b/src/stdlib/text.h index 7f7fc2c6..4d2f16b8 100644 --- a/src/stdlib/text.h +++ b/src/stdlib/text.h @@ -82,12 +82,14 @@ Closure_t Text$by_split_any(Text_t text, Text_t delimiters); Text_t Text$trim(Text_t text, Text_t to_trim, bool left, bool right); char *Text$as_c_string(Text_t text); List_t Text$clusters(Text_t text); -List_t Text$utf32_codepoints(Text_t text); -List_t Text$utf8_bytes(Text_t text); +List_t Text$utf8(Text_t text); +List_t Text$utf16(Text_t text); +List_t Text$utf32(Text_t text); List_t Text$codepoint_names(Text_t text); -Text_t Text$from_codepoints(List_t codepoints); +OptionalText_t Text$from_utf8(List_t units); +OptionalText_t Text$from_utf16(List_t units); +OptionalText_t Text$from_utf32(List_t codepoints); OptionalText_t Text$from_codepoint_names(List_t codepoint_names); -OptionalText_t Text$from_bytes(List_t bytes); List_t Text$lines(Text_t text); Closure_t Text$by_line(Text_t text); Text_t Text$join(Text_t glue, List_t pieces); |
