1 2 3 4 5 6 7 8 9 10 11 12
#[cxx::bridge] pub mod ffi { unsafe extern "C++" { include!("LIEF/rust/asm/powerpc/Operand.hpp"); type asm_powerpc_Operand; fn to_string(self: &asm_powerpc_Operand) -> UniquePtr<CxxString>; } impl UniquePtr<asm_powerpc_Operand> {} }