Skip to content

Commit 01c6bdc

Browse files
committed
msvcrt.GetErrorMode
1 parent cf702f2 commit 01c6bdc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

crates/vm/src/stdlib/msvcrt.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,12 @@ mod msvcrt {
109109
.map_err(|e| e.into_pyexception(vm))
110110
}
111111

112+
#[allow(non_snake_case)]
113+
#[pyfunction]
114+
fn GetErrorMode() -> u32 {
115+
unsafe { suppress_iph!(Debug::GetErrorMode()) }
116+
}
117+
112118
#[allow(non_snake_case)]
113119
#[pyfunction]
114120
fn SetErrorMode(mode: Debug::THREAD_ERROR_MODE, _: &VirtualMachine) -> u32 {

0 commit comments

Comments
 (0)