[pywin32-checkins] pywin32/com/win32com/src/extensions PyIPersistFile.cpp,1.4,1.5
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2004-03-29 07:21:19
|
Update of /cvsroot/pywin32/pywin32/com/win32com/src/extensions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16084/com/win32com/src/extensions Modified Files: PyIPersistFile.cpp Log Message: IPersistFile::Save should accept None as first argument. Index: PyIPersistFile.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/extensions/PyIPersistFile.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** PyIPersistFile.cpp 4 Jun 2000 05:52:55 -0000 1.4 --- PyIPersistFile.cpp 29 Mar 2004 07:09:52 -0000 1.5 *************** *** 90,94 **** return NULL; BOOL bPythonIsHappy = TRUE; ! if (!PyWinObject_AsBstr(obpszFileName, &pszFileName)) bPythonIsHappy = FALSE; if (!bPythonIsHappy) return NULL; HRESULT hr; --- 90,94 ---- return NULL; BOOL bPythonIsHappy = TRUE; ! if (!PyWinObject_AsBstr(obpszFileName, &pszFileName, TRUE)) bPythonIsHappy = FALSE; if (!bPythonIsHappy) return NULL; HRESULT hr; |