Update of /cvsroot/pywin32/pywin32/com/win32com/src/extensions
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15343
Modified Files:
Tag: py3k
PyIStorage.cpp
Log Message:
Remove direct reference to PyTime
Index: PyIStorage.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/extensions/PyIStorage.cpp,v
retrieving revision 1.4.4.1
retrieving revision 1.4.4.2
diff -C2 -d -r1.4.4.1 -r1.4.4.2
*** PyIStorage.cpp 13 Sep 2008 04:26:18 -0000 1.4.4.1
--- PyIStorage.cpp 11 Oct 2008 18:45:50 -0000 1.4.4.2
***************
*** 755,761 ****
{
PY_GATEWAY_METHOD;
! PyObject *obpctime = new PyTime(*pctime);
! PyObject *obpatime = new PyTime(*patime);
! PyObject *obpmtime = new PyTime(*pmtime);
PyObject *obName = PyWinObject_FromWCHAR(pwcsName);
HRESULT hr=InvokeViaPolicy("SetElementTimes", NULL, "OOOO", obName, obpctime, obpatime, obpmtime);
--- 755,761 ----
{
PY_GATEWAY_METHOD;
! PyObject *obpctime = PyWinObject_FromFILETIME(*pctime);
! PyObject *obpatime = PyWinObject_FromFILETIME(*patime);
! PyObject *obpmtime = PyWinObject_FromFILETIME(*pmtime);
PyObject *obName = PyWinObject_FromWCHAR(pwcsName);
HRESULT hr=InvokeViaPolicy("SetElementTimes", NULL, "OOOO", obName, obpctime, obpatime, obpmtime);
|