4 lines
67 B
Rust
Raw Normal View History

2017-11-28 17:00:38 -06:00
#[no_mangle]
pub extern "C" fn add_one(x: i32) -> i32 {
x + 1
}