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

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

        type DWARF_types_Pointer;

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