Skip to content

Commit 3b08025

Browse files
committed
_winapi.NULL
1 parent 7541509 commit 3b08025

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎vm/src/stdlib/winapi.rs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ mod _winapi {
5757
UI::WindowsAndMessaging::SW_HIDE,
5858
};
5959

60+
#[pyattr]
61+
const NULL: isize = 0;
62+
6063
#[pyfunction]
6164
fn CloseHandle(handle: HANDLE) -> WindowsSysResult<BOOL> {
6265
WindowsSysResult(unsafe { windows_sys::Win32::Foundation::CloseHandle(handle.0) })

0 commit comments

Comments
 (0)