documentation
This commit is contained in:
parent
4ca694ffac
commit
c1ba59ba3a
@ -1,3 +1,4 @@
|
|||||||
|
/// this is to add one to the number that is passed in
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn add_one(x: u32) -> u32 {
|
pub extern "C" fn add_one(x: u32) -> u32 {
|
||||||
x + 1
|
x + 1
|
||||||
|
Loading…
Reference in New Issue
Block a user