The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
198 B

#![crate_name = "rs_math"]
use std::os::raw::c_double;
extern "C" {
fn log2(n: c_double) -> c_double;
}
#[no_mangle]
pub extern fn rs_log2(n: c_double) -> c_double {
unsafe { log2(n) }
}