aboutsummaryrefslogtreecommitdiff
path: root/stdlib/text.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-12-19 15:32:19 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-12-19 15:32:19 -0500
commit478ddad9aaf837005f5401126f8872c0e3058bba (patch)
tree174dce900cd28b13de71f17cd122e31f0f4f17b1 /stdlib/text.h
parent221f4ad7ea257d7d65598e89799cb389d6d5932d (diff)
Add Text:reversed()
Diffstat (limited to 'stdlib/text.h')
-rw-r--r--stdlib/text.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/text.h b/stdlib/text.h
index 6e2ac413..f7785ddb 100644
--- a/stdlib/text.h
+++ b/stdlib/text.h
@@ -31,6 +31,7 @@ Text_t Text$_concat(int n, Text_t items[n]);
Text_t Text$slice(Text_t text, Int_t first_int, Int_t last_int);
Text_t Text$from(Text_t text, Int_t first);
Text_t Text$to(Text_t text, Int_t last);
+Text_t Text$reversed(Text_t text);
Text_t Text$cluster(Text_t text, Int_t index_int);
OptionalText_t Text$from_str(const char *str);
OptionalText_t Text$from_strn(const char *str, size_t len);