[pywin32-checkins] pywin32/win32/src win32event.i,1.12,1.13
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2010-12-18 00:14:31
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv14087/win32/src Modified Files: win32event.i Log Message: stop win32event swallowing exceptions (Ziga Seilnacht via issue 3136751) Index: win32event.i =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/win32event.i,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** win32event.i 3 Jan 2009 06:43:58 -0000 1.12 --- win32event.i 18 Dec 2010 00:14:23 -0000 1.13 *************** *** 35,45 **** // We can get better perf from some of these functions that don't block // by not releasing the Python lock as part of the call. - %typedef BOOL BOOLAPI_NL - - %typemap(python,out) BOOLAPI_NL { - $target = Py_None; - Py_INCREF(Py_None); - } - %typemap(python,except) BOOLAPI { $function --- 35,38 ---- *************** *** 284,288 **** // @pyswig |ReleaseMutex|Releases a mutex. ! BOOLAPI_NL ReleaseMutex( PyHANDLE hMutex // @pyparm <o PyHANDLE>|hEvent||handle of mutex object ); --- 277,281 ---- // @pyswig |ReleaseMutex|Releases a mutex. ! BOOLAPI ReleaseMutex( PyHANDLE hMutex // @pyparm <o PyHANDLE>|hEvent||handle of mutex object ); *************** *** 299,308 **** // @pyswig |ResetEvent|Resets an event ! BOOLAPI_NL ResetEvent( PyHANDLE hEvent // @pyparm <o PyHANDLE>|hEvent||handle of event object ); // @pyswig |SetEvent|Sets an event ! BOOLAPI_NL SetEvent( PyHANDLE hEvent // @pyparm <o PyHANDLE>|hEvent||handle of event object ); --- 292,301 ---- // @pyswig |ResetEvent|Resets an event ! BOOLAPI ResetEvent( PyHANDLE hEvent // @pyparm <o PyHANDLE>|hEvent||handle of event object ); // @pyswig |SetEvent|Sets an event ! BOOLAPI SetEvent( PyHANDLE hEvent // @pyparm <o PyHANDLE>|hEvent||handle of event object ); *************** *** 310,314 **** #ifndef MS_WINCE // @pyswig |SetWaitableTimer|Sets a waitable timer. ! BOOLAPI_NL SetWaitableTimer( PyHANDLE hTimer, // @pyparm int|handle||handle to timer LARGE_INTEGER *INPUT, // @pyparm long|dueTime||timer due time --- 303,307 ---- #ifndef MS_WINCE // @pyswig |SetWaitableTimer|Sets a waitable timer. ! BOOLAPI SetWaitableTimer( PyHANDLE hTimer, // @pyparm int|handle||handle to timer LARGE_INTEGER *INPUT, // @pyparm long|dueTime||timer due time |