diff options
author | Thomas Heller <theller@ctypes.org> | 2007-01-11 21:23:12 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2007-01-11 21:23:12 (GMT) |
commit | f5b5183a1947200a707f1816767ee233a3a8c05b (patch) | |
tree | 5edf8960e6b3da76f0dd247e8953e3661f402132 | |
parent | 8138c26a8306a423ab0ae2c45976a37a2c000de6 (diff) | |
download | cpython-f5b5183a1947200a707f1816767ee233a3a8c05b.zip cpython-f5b5183a1947200a707f1816767ee233a3a8c05b.tar.gz cpython-f5b5183a1947200a707f1816767ee233a3a8c05b.tar.bz2 |
Correct the comments: the code is right.
-rw-r--r-- | Lib/ctypes/wintypes.py | 4 |
1 files 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 |