Commit f1ef0a80f1

Jonathan Marler <johnnymarler@gmail.com>
2020-12-30 20:14:25
fix LRESULT and LPARAM typedefs
LRESULT and LPARAM are currently typedef'd as ?*c_void, however, they are supposed to be typedef'd as LONG_PTR which is equivalent to isize in Zig.
1 parent 5ee0431
Changed files (1)
lib
std
os
windows
lib/std/os/windows/bits.zig
@@ -84,8 +84,8 @@ pub const HLOCAL = HANDLE;
 pub const LANGID = c_ushort;
 
 pub const WPARAM = usize;
-pub const LPARAM = ?*c_void;
-pub const LRESULT = ?*c_void;
+pub const LPARAM = LONG_PTR;
+pub const LRESULT = LONG_PTR;
 
 pub const va_list = *opaque {};