mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
builtins: Move return pointer to first position for fromUtf8C
This commit is contained in:
parent
a342f02824
commit
60d29c2e25
3 changed files with 12 additions and 21 deletions
|
@ -1552,7 +1552,7 @@ const CountAndStart = extern struct {
|
|||
start: usize,
|
||||
};
|
||||
|
||||
pub fn fromUtf8C(arg: RocList, update_mode: UpdateMode, output: *FromUtf8Result) callconv(.C) void {
|
||||
pub fn fromUtf8C(output: *FromUtf8Result, arg: RocList, update_mode: UpdateMode) callconv(.C) void {
|
||||
output.* = fromUtf8(arg, update_mode);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue