[pywin32-checkins] pywin32/com/win32com/src PythonCOM.cpp,1.26,1.27
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <mha...@us...> - 2003-11-11 23:46:08
|
Update of /cvsroot/pywin32/pywin32/com/win32com/src In directory sc8-pr-cvs1:/tmp/cvs-serv1930 Modified Files: PythonCOM.cpp Log Message: Remove RecoverFromID, which was an old debugging hack used by Greg Stein allowing you to (try to) reference any memory address you like, and has not been used in many years. Index: PythonCOM.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/PythonCOM.cpp,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** PythonCOM.cpp 8 Nov 2003 02:01:55 -0000 1.26 --- PythonCOM.cpp 11 Nov 2003 23:46:01 -0000 1.27 *************** *** 617,636 **** } - static PyObject *pythoncom_RecoverFromID(PyObject *self, PyObject *args) - { - int p = 0; - - if ( !PyArg_ParseTuple(args, "i", &p) ) - return NULL; - - if ( !p ) - { - Py_INCREF(Py_None); - return Py_None; - } - - return (PyObject *)p; - } - // @pymethod <o PyIDispatch>|pythoncom|UnwrapObject|Unwraps a Python instance in a gateway object. static PyObject *pythoncom_UnwrapObject(PyObject *self, PyObject *args) --- 617,620 ---- *************** *** 1455,1459 **** #endif // MS_WINCE { "ReadClassStg", pythoncom_ReadClassStg, 1}, // @pymeth ReadClassStg|Reads a CLSID from a storage object - { "RecoverFromID", pythoncom_RecoverFromID, 1 }, { "RegisterTypeLib", pythoncom_registertypelib, 1}, // @pymeth RegisterTypeLib|Adds information about a type library to the system registry. { "UnRegisterTypeLib", pythoncom_unregistertypelib, 1}, // @pymeth UnRegisterTypeLib|Removes a type library from the system registry. --- 1439,1442 ---- |