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

        type PDB_types_Method;

        fn name(self: &PDB_types_Method) -> UniquePtr<CxxString>;
        fn get_type(self: &PDB_types_Method) -> u32;
        fn access(self: &PDB_types_Method) -> u8;
    }

    impl UniquePtr<PDB_types_Method> {}
}