mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-13 09:49:11 +03:00
Inlining zig side
This commit is contained in:
parent
59f07377fe
commit
d976f2fc93
@ -25,7 +25,7 @@ pub fn asin(num: f64) callconv(.C) f64 {
|
||||
/// TODO: Obviously, this should not be an alias for arcsin(x);
|
||||
/// fix me!
|
||||
pub fn bytesToU16C(num: f64) callconv(.C) f64 {
|
||||
return num + 1;
|
||||
return @call(.{ .modifier = always_inline }, bytesToU16, .{num});
|
||||
}
|
||||
|
||||
fn bytesToU16(num: f64) f64 {
|
||||
|
Loading…
Reference in New Issue
Block a user