use maraiah::durandal::ffi; #[no_mangle] pub extern "C" fn test_fn(fname: *const ffi::c_char) { let fname = unsafe {ffi::CStr::from_ptr(fname)}; println!("hello, world! from rust: {}", fname.to_str().unwrap()); } /* struct Project { } */ // EOF