aboutsummaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
Diffstat (limited to 'environment.c')
-rw-r--r--environment.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/environment.c b/environment.c
index 2385455a..09935f11 100644
--- a/environment.c
+++ b/environment.c
@@ -249,7 +249,6 @@ env_t *new_compilation_unit(CORD *libname)
{"Text", TEXT_TYPE, "Text_t", "$Text", TypedArray(ns_entry_t,
// {"find", "Text$find", "func(text:Text, pattern:Text)->FindResult"},
{"as_c_string", "CORD_to_char_star", "func(text:Text)->CString"},
- {"clusters", "Text$clusters", "func(text:Text)->[Text]"},
{"codepoint_names", "Text$codepoint_names", "func(text:Text)->[Text]"},
{"from_bytes", "Text$from_bytes", "func(bytes:[Int8])->Text"},
{"from_c_string", "Text$from_str", "func(str:CString)->Text"},
@@ -261,7 +260,7 @@ env_t *new_compilation_unit(CORD *libname)
{"lower", "Text$lower", "func(text:Text)->Text"},
{"quoted", "Text$quoted", "func(text:Text, color=no)->Text"},
{"replace", "Text$replace", "func(text:Text, pattern:Text, replacement:Text)->Text"},
- {"split", "Text$split", "func(text:Text, split:Text)->[Text]"},
+ {"split", "Text$split", "func(text:Text, pattern='')->[Text]"},
{"title", "Text$title", "func(text:Text)->Text"},
{"trimmed", "Text$trimmed", "func(text:Text, trim=\" {\\n\\r\\t}\", where=Where.Anywhere)->Text"},
{"upper", "Text$upper", "func(text:Text)->Text"},