[pywin32-checkins] pywin32/SWIG/swig_lib/python pywintypes.i, 1.6, 1.7
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2007-06-03 14:53:06
|
Update of /cvsroot/pywin32/pywin32/SWIG/swig_lib/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21318/SWIG/swig_lib/python Modified Files: pywintypes.i Log Message: PyWinObject_AsHANDLE losts its 3rd param - None is always OK (zero always was, so the distinction is futile Index: pywintypes.i =================================================================== RCS file: /cvsroot/pywin32/pywin32/SWIG/swig_lib/python/pywintypes.i,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** pywintypes.i 16 Jan 2007 19:04:21 -0000 1.6 --- pywintypes.i 3 Jun 2007 14:53:06 -0000 1.7 *************** *** 303,325 **** %typemap(python,in) HANDLE { ! if (!PyWinObject_AsHANDLE($source, &$target, TRUE)) return NULL; } %typemap(python,in) PyHANDLE { ! if (!PyWinObject_AsHANDLE($source, &$target, FALSE)) return NULL; } %typemap(python,in) PyHKEY { ! if (!PyWinObject_AsHKEY($source, &$target, FALSE)) return NULL; } %typemap(python,in) PyHANDLE INPUT_NULLOK { ! if (!PyWinObject_AsHANDLE($source, &$target, TRUE)) return NULL; } %typemap(python,in) PyHKEY INPUT_NULLOK { ! if (!PyWinObject_AsHKEY($source, &$target, TRUE)) return NULL; } --- 303,325 ---- %typemap(python,in) HANDLE { ! if (!PyWinObject_AsHANDLE($source, &$target)) return NULL; } %typemap(python,in) PyHANDLE { ! if (!PyWinObject_AsHANDLE($source, &$target)) return NULL; } %typemap(python,in) PyHKEY { ! if (!PyWinObject_AsHKEY($source, &$target)) return NULL; } %typemap(python,in) PyHANDLE INPUT_NULLOK { ! if (!PyWinObject_AsHANDLE($source, &$target)) return NULL; } %typemap(python,in) PyHKEY INPUT_NULLOK { ! if (!PyWinObject_AsHKEY($source, &$target)) return NULL; } *************** *** 387,391 **** typedef float HWND; %typemap(python, in) HWND{ ! if (!PyWinObject_AsHANDLE($source, (HANDLE *)&$target, FALSE)) return NULL; } --- 387,391 ---- typedef float HWND; %typemap(python, in) HWND{ ! if (!PyWinObject_AsHANDLE($source, (HANDLE *)&$target)) return NULL; } |