From: Roger U. <ru...@us...> - 2007-02-24 00:29:08
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23533/win32/src Modified Files: win32process.i Log Message: Use PyWinLong_AsVoidPtr in place of PyLong_AsVoidPtr Index: win32process.i =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/win32process.i,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** win32process.i 25 Jan 2007 21:42:17 -0000 1.26 --- win32process.i 24 Feb 2007 00:29:07 -0000 1.27 *************** *** 430,438 **** if (!PyWinObject_AsHANDLE(obhprocess, &hprocess, FALSE)) return NULL; ! Func=(LPTHREAD_START_ROUTINE)PyLong_AsVoidPtr(obFunc); ! if (Func==NULL && PyErr_Occurred()) return NULL; ! Parameter=PyLong_AsVoidPtr(obParameter); ! if (Parameter==NULL && PyErr_Occurred()) return NULL; SECURITY_ATTRIBUTES *pSA; --- 430,436 ---- if (!PyWinObject_AsHANDLE(obhprocess, &hprocess, FALSE)) return NULL; ! if (!PyWinLong_AsVoidPtr(obFunc, (void **)&Func)) return NULL; ! if (!PyWinLong_AsVoidPtr(obParameter, &Parameter)) return NULL; SECURITY_ATTRIBUTES *pSA; |