aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/text.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-05-06 19:27:45 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-05-06 19:27:45 -0400
commit817adbf22592955244aecad435ce0555707dba1a (patch)
tree5bde62f686921d348b74e78903f1b8ed6bf746d1 /src/stdlib/text.h
parentce098c6401335b14ed9f92ee795d5ba6afb45d2e (diff)
Error checking for path components
Diffstat (limited to 'src/stdlib/text.h')
-rw-r--r--src/stdlib/text.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/text.h b/src/stdlib/text.h
index ffdebf68..47ede6f1 100644
--- a/src/stdlib/text.h
+++ b/src/stdlib/text.h
@@ -54,7 +54,7 @@ Text_t Text$without_prefix(Text_t text, Text_t prefix);
Text_t Text$without_suffix(Text_t text, Text_t suffix);
Text_t Text$replace(Text_t text, Text_t target, Text_t replacement);
Text_t Text$translate(Text_t text, Table_t translations);
-bool Text$has(Text_t text, Text_t target);
+PUREFUNC bool Text$has(Text_t text, Text_t target);
List_t Text$split(Text_t text, Text_t delimiter);
List_t Text$split_any(Text_t text, Text_t delimiters);
Closure_t Text$by_split(Text_t text, Text_t delimiter);