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

        type DebugLocation;

        fn file(self: &DebugLocation) -> UniquePtr<CxxString>;
        fn line(self: &DebugLocation) -> u64;
    }

    impl UniquePtr<DebugLocation> {}
}