Commit 3ff9ab332c

emekoi <emekankurumeh@outlook.com>
2018-11-27 18:54:09
fixed type signature
1 parent 51fff9f
Changed files (1)
std
os
windows
std/os/windows/kernel32.zig
@@ -259,7 +259,7 @@ pub extern "kernel32" stdcallcc fn InitOnceExecuteOnce(InitOnce: *RTL_RUN_ONCE,
 pub const PINIT_ONCE_FN = ?extern fn(InitOnce: *RTL_RUN_ONCE, Parameter: ?PVOID, Context: ?PVOID) BOOL;
 
 pub const RTL_RUN_ONCE = extern struct {
-    Ptr: PVOID,
+    Ptr: ?PVOID,
 };
 
 pub const INIT_ONCE_STATIC_INIT = RTL_RUN_ONCE {