[Python-checkins] r53390 - python/trunk/Lib/ctypes/wintypes.py

thomas.heller python-checkins at python.org
Thu Jan 11 22:23:12 CET 2007


Author: thomas.heller
Date: Thu Jan 11 22:23:12 2007
New Revision: 53390

Modified:
   python/trunk/Lib/ctypes/wintypes.py
Log:
Correct the comments: the code is right.


Modified: python/trunk/Lib/ctypes/wintypes.py
==============================================================================
--- python/trunk/Lib/ctypes/wintypes.py	(original)
+++ python/trunk/Lib/ctypes/wintypes.py	Thu Jan 11 22:23:12 2007
@@ -34,8 +34,8 @@
 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


More information about the Python-checkins mailing list