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

        type Span = crate::utils::ffi::Span;
        type PE_Debug = crate::pe::debug::debug::ffi::PE_Debug;

        type PE_Repro;

        fn hash(self: &PE_Repro) -> Span;
        #[Self = "PE_Repro"]
        fn classof(entry: &PE_Debug) -> bool;
    }
    impl UniquePtr<PE_Repro> {}
}