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

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

        type PE_CodeView;

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