Inlining zig side

This commit is contained in:
Joshua Hoeflich 2021-08-14 18:26:46 -05:00
parent 59f07377fe
commit d976f2fc93

View file

@ -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 {