1 2 3 4 5 6 7 8 9 10 11
#[cxx::bridge] pub mod ffi { unsafe extern "C++" { include!("LIEF/rust/PDB/utils.hpp"); type PDB_Utils; #[Self = "PDB_Utils"] fn is_pdb(file: &CxxString) -> bool; } }