From: Thomas Heller Date: Thu, 11 Jan 2007 21:23:12 +0000 (+0000) Subject: Correct the comments: the code is right. X-Git-Tag: v2.6a1~2290 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f5b5183a1947200a707f1816767ee233a3a8c05b;p=thirdparty%2FPython%2Fcpython.git Correct the comments: the code is right. --- diff --git a/Lib/ctypes/wintypes.py b/Lib/ctypes/wintypes.py index d2c1e38cb75f..a0fc0bb3c072 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