[pywin32-checkins] pywin32/com/win32comext/bits/src PyIBackgroundCopyFile2.cpp, 1.2, 1.2.2.1
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2009-01-05 12:51:33
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/bits/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv4261/com/win32comext/bits/src Modified Files: Tag: py3k PyIBackgroundCopyFile2.cpp Log Message: merge lots of changes (most via 2to3) from the trunk Index: PyIBackgroundCopyFile2.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/bits/src/PyIBackgroundCopyFile2.cpp,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** PyIBackgroundCopyFile2.cpp 12 Feb 2008 00:10:57 -0000 1.2 --- PyIBackgroundCopyFile2.cpp 5 Jan 2009 12:51:27 -0000 1.2.2.1 *************** *** 32,46 **** if ( pIBCF2 == NULL ) return NULL; ! DWORD * RangeCount; ! PyObject *obRangeCount; ! BG_FILE_RANGE ** Ranges; ! PyObject *obRanges; if ( !PyArg_ParseTuple(args, ":GetFileRanges") ) return NULL; HRESULT hr; PY_INTERFACE_PRECALL; ! hr = pIBCF2->GetFileRanges( RangeCount, Ranges ); ! // PyObject_FreeDWORD(RangeCount); ! // PyObject_FreeBG_FILE_RANGE_LIST(Ranges); PY_INTERFACE_POSTCALL; --- 32,42 ---- if ( pIBCF2 == NULL ) return NULL; ! DWORD RangeCount; ! BG_FILE_RANGE *Ranges; if ( !PyArg_ParseTuple(args, ":GetFileRanges") ) return NULL; HRESULT hr; PY_INTERFACE_PRECALL; ! hr = pIBCF2->GetFileRanges( &RangeCount, &Ranges ); PY_INTERFACE_POSTCALL; *************** *** 48,55 **** if ( FAILED(hr) ) return PyCom_BuildPyException(hr, pIBCF2, IID_IBackgroundCopyFile2 ); - // *** The output argument RangeCount of type "DWORD *" was not processed *** - // The type 'DWORD *' (RangeCount) is unknown. - // *** The output argument Ranges of type "BG_FILE_RANGE **" was not processed *** - // The type 'BG_FILE_RANGE **' (Ranges) is unknown. Py_INCREF(Py_None); return Py_None; --- 44,47 ---- |