Test fixing raw-dylib
This commit is contained in:
parent
13a5097796
commit
b2fd8a0192
7 changed files with 95 additions and 55 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue