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/PE/RichEntry.hpp");

        type PE_RichEntry;

        fn id(self: &PE_RichEntry) -> u16;
        fn build_id(self: &PE_RichEntry) -> u16;
        fn count(self: &PE_RichEntry) -> u32;
    }

    impl UniquePtr<PE_RichEntry> {}
}