mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
Rename Str.toBytes to Str.toUtf8
This commit is contained in:
parent
23e11ca946
commit
2a616103c6
16 changed files with 33 additions and 33 deletions
|
@ -1129,8 +1129,8 @@ test "RocStr.joinWith: result is big" {
|
|||
try expect(roc_result.eq(result));
|
||||
}
|
||||
|
||||
// Str.toBytes
|
||||
pub fn strToBytesC(arg: RocStr) callconv(.C) RocList {
|
||||
// Str.toUtf8
|
||||
pub fn strToUtf8C(arg: RocStr) callconv(.C) RocList {
|
||||
return @call(.{ .modifier = always_inline }, strToBytes, .{arg});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue