Remove print_message_from_rust
This commit is contained in:
@@ -3,11 +3,6 @@ use libc::c_char;
|
||||
|
||||
const COPYRIGHT: &'static str = "Copyright (C) 2018 Serge Vakulenko KK6ABQ";
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn print_message_from_rust() {
|
||||
println!("Calling from Rust!");
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn print_usage(version_ptr: *const c_char) {
|
||||
let version: String = unsafe { CStr::from_ptr(version_ptr) }.to_string_lossy().to_string();
|
||||
|
||||
Reference in New Issue
Block a user