add GetFileType stub
This commit is contained in:
parent
6504d2ef5f
commit
590834b032
@ -425,6 +425,13 @@ fn emulate_foreign_item_by_name(
|
||||
// Just make it fail.
|
||||
this.write_null(dest)?;
|
||||
}
|
||||
"GetFileType" if this.frame_in_std() => {
|
||||
#[allow(non_snake_case)]
|
||||
let [_hFile] =
|
||||
this.check_shim(abi, Abi::System { unwind: false }, link_name, args)?;
|
||||
// Return unknown file type.
|
||||
this.write_null(dest)?;
|
||||
}
|
||||
"AddVectoredExceptionHandler" if this.frame_in_std() => {
|
||||
#[allow(non_snake_case)]
|
||||
let [_First, _Handler] =
|
||||
|
Loading…
Reference in New Issue
Block a user