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/MachO/DataCodeEntry.hpp");

        type MachO_DataCodeEntry;

        fn offset(self: &MachO_DataCodeEntry) -> u32;
        fn length(self: &MachO_DataCodeEntry) -> u32;
        fn get_type(self: &MachO_DataCodeEntry) -> u32;
    }

    impl UniquePtr<MachO_DataCodeEntry> {}
}