diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-19 13:30:45 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-19 13:30:45 -0500 |
| commit | 4720ca7a5f3ad4bf2a04a6d28d671f03162149a9 (patch) | |
| tree | a6385a8ad6f03b869e768b91220b2033631d6764 /environment.c | |
| parent | ccada385c4fdc2dc320b0ab468c7413ff27bcc7d (diff) | |
Rename `Text.utf8_bytes` back to `Text.bytes`
Diffstat (limited to 'environment.c')
| -rw-r--r-- | environment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/environment.c b/environment.c index 3ded0af3..c98d55e4 100644 --- a/environment.c +++ b/environment.c @@ -386,6 +386,7 @@ env_t *new_compilation_unit(CORD libname) {"Text", TEXT_TYPE, "Text_t", "Text$info", TypedArray(ns_entry_t, {"as_c_string", "Text$as_c_string", "func(text:Text -> CString)"}, {"at", "Text$cluster", "func(text:Text, index:Int -> Text)"}, + {"bytes", "Text$utf8_bytes", "func(text:Text -> [Byte])"}, {"codepoint_names", "Text$codepoint_names", "func(text:Text -> [Text])"}, {"ends_with", "Text$ends_with", "func(text,suffix:Text -> Bool)"}, {"each", "Text$each", "func(text:Text, pattern:Pattern, fn:func(match:Match))"}, @@ -413,7 +414,6 @@ env_t *new_compilation_unit(CORD libname) {"trim", "Text$trim", "func(text:Text, pattern=$/{whitespace}/, trim_left=yes, trim_right=yes -> Text)"}, {"upper", "Text$upper", "func(text:Text -> Text)"}, {"utf32_codepoints", "Text$utf32_codepoints", "func(text:Text -> [Int32])"}, - {"utf8_bytes", "Text$utf8_bytes", "func(text:Text -> [Byte])"}, )}, {"Thread", THREAD_TYPE, "Thread_t", "Thread", TypedArray(ns_entry_t, {"new", "Thread$new", "func(fn:func() -> Thread)"}, |
