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