]> granicus.if.org Git - python/commitdiff
Correct the comments: the code is right.
authorThomas Heller <theller@ctypes.org>
Thu, 11 Jan 2007 21:23:12 +0000 (21:23 +0000)
committerThomas Heller <theller@ctypes.org>
Thu, 11 Jan 2007 21:23:12 +0000 (21:23 +0000)
Lib/ctypes/wintypes.py

index d2c1e38cb75f9037044060782e7090512ca41389..a0fc0bb3c0723230d3f70534f5d7e9b4b1b0367b 100644 (file)
@@ -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