mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
Inlining zig side
This commit is contained in:
parent
59f07377fe
commit
d976f2fc93
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ pub fn asin(num: f64) callconv(.C) f64 {
|
||||||
/// TODO: Obviously, this should not be an alias for arcsin(x);
|
/// TODO: Obviously, this should not be an alias for arcsin(x);
|
||||||
/// fix me!
|
/// fix me!
|
||||||
pub fn bytesToU16C(num: f64) callconv(.C) f64 {
|
pub fn bytesToU16C(num: f64) callconv(.C) f64 {
|
||||||
return num + 1;
|
return @call(.{ .modifier = always_inline }, bytesToU16, .{num});
|
||||||
}
|
}
|
||||||
|
|
||||||
fn bytesToU16(num: f64) f64 {
|
fn bytesToU16(num: f64) f64 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue