Update of /cvsroot/pywin32/pywin32/com/win32com/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2773/com/win32com/src
Modified Files:
PyComHelpers.cpp
Log Message:
Remove obsolete #ifdef
Index: PyComHelpers.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/PyComHelpers.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** PyComHelpers.cpp 7 May 2007 02:33:00 -0000 1.13
--- PyComHelpers.cpp 4 Jul 2007 18:34:56 -0000 1.14
***************
*** 266,274 ****
if ( valueObject )
{
- #ifdef PYWIN_NO_PYTHON_LONG_LONG
- pfnPyGatewayConstructor ctor = (pfnPyGatewayConstructor)PyInt_AsLong(valueObject);
- #else
pfnPyGatewayConstructor ctor = (pfnPyGatewayConstructor)PyLong_AsVoidPtr(valueObject);
- #endif
// ctor takes reference count to instance.
hr = (*ctor)(instance, base, ppv, iid);
--- 266,270 ----
|