1 #[cxx::bridge] 2 mod ffi { 3 unsafe extern "C++" { 4 type Opaque; f(arg: &mut Opaque)5 fn f(arg: &mut Opaque); g(&mut self)6 fn g(&mut self); h(self: &mut Opaque)7 fn h(self: &mut Opaque); s(s: &mut CxxString)8 fn s(s: &mut CxxString); v(v: &mut CxxVector<u8>)9 fn v(v: &mut CxxVector<u8>); 10 } 11 12 } 13 main()14fn main() {} 15