aboutsummaryrefslogtreecommitdiff
path: root/builtins/text.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-04 01:34:12 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-03-04 01:34:12 -0500
commit0b7ca098ae1dc5e31485bc505a441d3796f0702b (patch)
treeb0662c559c96bd704f7c33c9ccc3f33d38f66d8d /builtins/text.h
parent1f6aa4cac7af0e00c826d5348b06aed70cbcb3e3 (diff)
Fix some bugs relating to NUL termination of strings
Diffstat (limited to 'builtins/text.h')
-rw-r--r--builtins/text.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/builtins/text.h b/builtins/text.h
index 44e2c270..f2fc47cd 100644
--- a/builtins/text.h
+++ b/builtins/text.h
@@ -32,6 +32,10 @@ CORD Text__join(CORD glue, array_t pieces);
array_t Text__clusters(CORD text);
array_t Text__codepoints(CORD text);
array_t Text__bytes(CORD text);
+int64_t Text__num_clusters(CORD text);
+int64_t Text__num_codepoints(CORD text);
+int64_t Text__num_bytes(CORD text);
+array_t Text__character_names(CORD text);
extern const TypeInfo Text;