From: Marcelo M. <mar...@us...> - 2006-01-03 19:55:01
|
Update of /cvsroot/swig/SWIG/Lib/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13710/Lib/python Modified Files: pyrun.swg Log Message: delete some inlines which confuse gcc for very large interfaces Index: pyrun.swg =================================================================== RCS file: /cvsroot/swig/SWIG/Lib/python/pyrun.swg,v retrieving revision 1.114 retrieving revision 1.115 diff -C2 -d -r1.114 -r1.115 *** pyrun.swg 28 Dec 2005 07:52:55 -0000 1.114 --- pyrun.swg 3 Jan 2006 19:54:53 -0000 1.115 *************** *** 99,113 **** #ifdef SWIG_PYTHON_SAFE_NONE ! SWIGRUNTIME PyObject * _SWIG_Py_None(void) { ! static PyObject *none = 0; ! if (!none) { ! none = Py_BuildValue(""); ! Py_DECREF(none); ! } return none; } ! SWIGRUNTIMEINLINE PyObject * SWIG_Py_None(void) { --- 99,110 ---- #ifdef SWIG_PYTHON_SAFE_NONE ! SWIGRUNTIMEINLINE PyObject * _SWIG_Py_None(void) { ! PyObject *none = Py_BuildValue(""); ! Py_DECREF(none); return none; } ! SWIGRUNTIME PyObject * SWIG_Py_None(void) { *************** *** 115,122 **** return none; } ! # ifdef Py_None ! # undef Py_None ! # define Py_None SWIG_Py_None() ! # endif #endif --- 112,119 ---- return none; } ! # ifdef Py_None ! # undef Py_None ! # define Py_None SWIG_Py_None() ! # endif #endif *************** *** 349,353 **** SWIGRUNTIME PyTypeObject* _PySwigObject_type(void); ! SWIGRUNTIMEINLINE PyTypeObject* PySwigObject_type(void) { static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type(); --- 346,350 ---- SWIGRUNTIME PyTypeObject* _PySwigObject_type(void); ! SWIGRUNTIME PyTypeObject* PySwigObject_type(void) { static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type(); *************** *** 689,693 **** SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void); ! SWIGRUNTIMEINLINE PyTypeObject* PySwigPacked_type(void) { static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type(); --- 686,690 ---- SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void); ! SWIGRUNTIME PyTypeObject* PySwigPacked_type(void) { static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type(); *************** *** 800,804 **** } ! SWIGRUNTIMEINLINE swig_type_info * PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) { --- 797,801 ---- } ! SWIGRUNTIME swig_type_info * PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) { *************** *** 827,831 **** } ! SWIGRUNTIMEINLINE PyObject * SWIG_This(void) { --- 824,828 ---- } ! SWIGRUNTIME PyObject * SWIG_This(void) { *************** *** 836,840 **** /* #define SWIG_PYTHON_SLOW_GETSET_THIS */ ! SWIGRUNTIMEINLINE PySwigObject * SWIG_Python_GetSwigThis(PyObject *pyobj) { --- 833,837 ---- /* #define SWIG_PYTHON_SLOW_GETSET_THIS */ ! SWIGRUNTIME PySwigObject * SWIG_Python_GetSwigThis(PyObject *pyobj) { *************** *** 1028,1032 **** */ ! SWIGRUNTIMEINLINE PyObject* SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this) { --- 1025,1029 ---- */ ! SWIGRUNTIME PyObject* SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this) { |