Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
msvcrt.GetErrorMode
  • Loading branch information
youknowone committed Dec 7, 2025
commit e76fbaa894f8d117af96388b2dab9cd068fb6a1b
6 changes: 6 additions & 0 deletions crates/vm/src/stdlib/msvcrt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@ mod msvcrt {
.map_err(|e| e.into_pyexception(vm))
}

#[allow(non_snake_case)]
#[pyfunction]
fn GetErrorMode() -> u32 {
unsafe { suppress_iph!(Debug::GetErrorMode()) }
}

#[allow(non_snake_case)]
#[pyfunction]
fn SetErrorMode(mode: Debug::THREAD_ERROR_MODE, _: &VirtualMachine) -> u32 {
Expand Down