然後我們要在Rust 的程式中呼叫: use std::{ffi::CString, os::raw::c_char}; extern "C" { // 宣告一個外部的函式,傳入一個C 的char 指標fn say_hello(message: ...
確定! 回上一頁