1 2 3 4 5 6 7 8 9 10 11 12
use interoptopus::wire::Wire; use interoptopus::{ffi, function}; #[ffi(export = unique)] pub fn greeting() -> Wire<String> { Wire::from("hello".to_string()) } #[test] fn basic() { test_output!("Interop.cs", [function!(greeting)]); }