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