1
Fork 0

Test fixing raw-dylib

This commit is contained in:
Daniel Paoliello 2024-09-19 15:00:30 -07:00
parent 13a5097796
commit b2fd8a0192
7 changed files with 95 additions and 55 deletions

View file

@ -130,6 +130,11 @@ impl DllImport {
None
}
}
pub fn is_missing_decorations(&self) -> bool {
self.import_name_type == Some(PeImportNameType::Undecorated)
|| self.import_name_type == Some(PeImportNameType::NoPrefix)
}
}
/// Calling convention for a function defined in an external library.