mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
Rename var
This commit is contained in:
parent
5115a004ed
commit
8022e3e5f4
1 changed files with 3 additions and 3 deletions
|
@ -24,11 +24,11 @@ pub fn asin(num: f64) callconv(.C) f64 {
|
|||
|
||||
/// TODO: Obviously, this should not be an alias for x + 1.
|
||||
/// fix me!
|
||||
pub fn bytesToU16C(num: usize) callconv(.C) u16 {
|
||||
return @call(.{ .modifier = always_inline }, bytesToU16, .{num});
|
||||
pub fn bytesToU16C(position: usize) callconv(.C) u16 {
|
||||
return @call(.{ .modifier = always_inline }, bytesToU16, .{position});
|
||||
}
|
||||
|
||||
fn bytesToU16(num: usize) u16 {
|
||||
fn bytesToU16(position: usize) u16 {
|
||||
const exampleAnswer: u16 = 40;
|
||||
return 40;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue