Remove print_message_from_rust

This commit is contained in:
Greg Shuflin
2021-02-27 21:27:55 -08:00
parent b64211f27c
commit 61a142d570
2 changed files with 0 additions and 6 deletions

View File

@@ -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();