builtins: move the output argument of Zig fromUtf8RangeC to first position

This commit is contained in:
Brian Carroll 2022-07-04 11:12:46 +01:00
parent 60d29c2e25
commit e1d8d09472
No known key found for this signature in database
GPG key ID: 9CF4E3BF9C4722C7
3 changed files with 3 additions and 3 deletions

View file

@ -1607,7 +1607,7 @@ inline fn fromUtf8(arg: RocList, update_mode: UpdateMode) FromUtf8Result {
}
}
pub fn fromUtf8RangeC(arg: RocList, countAndStart: CountAndStart, output: *FromUtf8Result) callconv(.C) void {
pub fn fromUtf8RangeC(output: *FromUtf8Result, arg: RocList, countAndStart: CountAndStart) callconv(.C) void {
output.* = @call(.{ .modifier = always_inline }, fromUtf8Range, .{ arg, countAndStart });
}