implement Str.concatUtf8

This commit is contained in:
shua 2024-06-07 02:02:46 +02:00
parent b3c28ebe66
commit 33e8a7a439
No known key found for this signature in database
GPG key ID: 73387DA37055770F
14 changed files with 102 additions and 0 deletions

View file

@ -210,6 +210,7 @@ comptime {
exportStrFn(str.withCapacityC, "with_capacity");
exportStrFn(str.strAllocationPtr, "allocation_ptr");
exportStrFn(str.strReleaseExcessCapacity, "release_excess_capacity");
exportStrFn(str.strConcatUtf8, "concat_utf8");
inline for (INTEGERS) |T| {
str.exportFromInt(T, ROC_BUILTINS ++ "." ++ STR ++ ".from_int.");