diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-02 22:30:19 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-02 22:30:19 -0400 |
| commit | 708acda54e56a74096ec780777596e570db5b627 (patch) | |
| tree | 6a4ecb5020f2259fb2ca50467cf97a8fe0045d88 /environment.c | |
| parent | 5a78eb61c876f73f6ed6bb3d631e0edc065026db (diff) | |
WIP fixes for synthetic graphemes and adding some text conversion
methods
Diffstat (limited to 'environment.c')
| -rw-r--r-- | environment.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/environment.c b/environment.c index db01f4d7..100cfcc2 100644 --- a/environment.c +++ b/environment.c @@ -251,7 +251,10 @@ env_t *new_compilation_unit(CORD *libname) {"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_c_string", "CORD_from_char_star", "func(str:CString)->Text"}, + {"from_bytes", "Text$from_bytes", "func(bytes:[Int8])->Text"}, + {"from_c_string", "Text$from_str", "func(str:CString)->Text"}, + {"from_codepoint_names", "Text$from_codepoint_names", "func(codepoint_names:[Text])->Text"}, + {"from_codepoints", "Text$from_codepoints", "func(codepoints:[Int32])->Text"}, {"has", "Text$has", "func(text:Text, pattern:Text)->Bool"}, {"join", "Text$join", "func(glue:Text, pieces:[Text])->Text"}, {"lower", "Text$lower", "func(text:Text)->Text"}, |
