FFI(Foreign Function Interface). 其顧名思義就是和不同的程式語言溝通的介面,例如C/C++ 等等因此我們可以這樣寫, extern "C" { fn abs(input: i32) -> i32; ...
確定! 回上一頁