1
2
3
4
5
6
7
8
9
10
11
12
#[cxx::bridge]
pub mod ffi {
    unsafe extern "C++" {
        include!("LIEF/rust/asm/riscv/Operand.hpp");

        type asm_riscv_Operand;

        fn to_string(self: &asm_riscv_Operand) -> UniquePtr<CxxString>;
    }

    impl UniquePtr<asm_riscv_Operand> {}
}