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/DWARF/types/Shared.hpp");

        type DWARF_Type = crate::dwarf::type_::ffi::DWARF_Type;

        type DWARF_types_Shared;

        #[Self = "DWARF_types_Shared"]
        fn classof(type_: &DWARF_Type) -> bool;
        fn underlying_type(self: &DWARF_types_Shared) -> UniquePtr<DWARF_Type>;
    }
    impl UniquePtr<DWARF_types_Shared> {}
}