[pywin32-checkins] pywin32/com/win32comext/shell/src PyIShellLink.cpp, 1.9, 1.10
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-11-26 08:39:37
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/shell/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18639/com/win32comext/shell/src Modified Files: PyIShellLink.cpp Log Message: various syntax modernizations Index: PyIShellLink.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/shell/src/PyIShellLink.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** PyIShellLink.cpp 3 Jun 2007 14:53:07 -0000 1.9 --- PyIShellLink.cpp 26 Nov 2008 08:39:33 -0000 1.10 *************** *** 61,67 **** return OleSetOleError(hr); } ! PyObject *obFD = PyObject_FromWIN32_FIND_DATAA(&fd); ! PyObject *obFile = PyWinObject_FromTCHAR(pszFile); ! PyObject *ret = Py_BuildValue("NN", obFile, obFD); free(pszFile); return ret; --- 61,67 ---- return OleSetOleError(hr); } ! PyObject *ret = Py_BuildValue("NN", ! PyWinObject_FromTCHAR(pszFile), ! PyObject_FromWIN32_FIND_DATA(&fd)); free(pszFile); return ret; |