diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-10-18 19:02:07 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-10-18 19:02:07 -0400 |
| commit | 5bdf96234a388cbd3854747b0667620ebb60ccdf (patch) | |
| tree | e4ab4055e0190f4a080b69fcd933cd8ca6146260 /src/environment.c | |
| parent | 82e3c05d547b2372ca4033c68469479260092b5a (diff) | |
Improved CLI parsing and add CString.join()
Diffstat (limited to 'src/environment.c')
| -rw-r--r-- | src/environment.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/environment.c b/src/environment.c index a3cb5ba8..96595ac7 100644 --- a/src/environment.c +++ b/src/environment.c @@ -285,7 +285,8 @@ env_t *global_env(bool source_mapping) { F2(hypot), F2(nextafter)), MAKE_TYPE( // "CString", Type(CStringType), Text("char*"), Text("CString$info"), // - {"as_text", "Text$from_str", "func(str:CString -> Text)"}), + {"as_text", "Text$from_str", "func(str:CString -> Text)"}, + {"join", "CString$join", "func(glue:CString, pieces:[CString] -> CString)"}), #undef F2 #undef F_opt #undef F |
