authorgravatar for johnnymarler@gmail.comJonathan Marler <johnnymarler@gmail.com> 2020-12-30 12:14:25-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-01-06 16:41:40-08:00
logf1ef0a80f1d614bbbb9ad8fae7992d55111c8cd7
tree9b93cb231e99c2b17c3428b5a7541c706ea0b6fa
parent5ee04315272ba19e3d329ad21d38e9e425e21ab5

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 files changed, 2 insertions(+), 2 deletions(-)

lib/std/os/windows/bits.zig+2-2
......@@ -84,8 +84,8 @@ pub const HLOCAL = HANDLE;
8484pub const LANGID = c_ushort;
8585
8686pub const WPARAM = usize;
87pub const LPARAM = ?*c_void;
88pub const LRESULT = ?*c_void;
87pub const LPARAM = LONG_PTR;
88pub const LRESULT = LONG_PTR;
8989
9090pub const va_list = *opaque {};
9191