From f5b5183a1947200a707f1816767ee233a3a8c05b Mon Sep 17 00:00:00 2001 From: Thomas Heller Date: Thu, 11 Jan 2007 21:23:12 +0000 Subject: Correct the comments: the code is right. --- Lib/ctypes/wintypes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/ctypes/wintypes.py b/Lib/ctypes/wintypes.py index d2c1e38..a0fc0bb 100644 --- a/Lib/ctypes/wintypes.py +++ b/Lib/ctypes/wintypes.py @@ -34,8 +34,8 @@ LPCOLESTR = LPOLESTR = OLESTR = c_wchar_p LPCWSTR = LPWSTR = c_wchar_p LPCSTR = LPSTR = c_char_p -# WPARAM is defined as UINT_PTR (which is signed) -# LPARAM is defined as LONG_PTR (which is unsigned) +# WPARAM is defined as UINT_PTR (unsigned type) +# LPARAM is defined as LONG_PTR (signed type) if sizeof(c_long) == sizeof(c_void_p): WPARAM = c_ulong LPARAM = c_long -- cgit v0.12