Function show_notes::e031::add_in_rust
source ยท #[no_mangle]
pub extern "C" fn add_in_rust(a: c_int, b: c_int) -> c_int
Expand description
The simplest possible example of exposing Rust functions via a C FFI.
#[no_mangle]
pub extern "C" fn add_in_rust(a: c_int, b: c_int) -> c_int
The simplest possible example of exposing Rust functions via a C FFI.