From: Marcelo M. <mar...@us...> - 2006-04-11 01:45:34
|
Update of /cvsroot/swig/SWIG/Lib/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9293/Lib/python Modified Files: pyrun.swg Log Message: fix for 2.5, reported by Mike Romberg #1465867 Index: pyrun.swg =================================================================== RCS file: /cvsroot/swig/SWIG/Lib/python/pyrun.swg,v retrieving revision 1.143 retrieving revision 1.144 diff -C2 -d -r1.143 -r1.144 *** pyrun.swg 10 Apr 2006 21:03:13 -0000 1.143 --- pyrun.swg 11 Apr 2006 01:45:31 -0000 1.144 *************** *** 1076,1080 **** /* here we get the method pointer for callbacks */ ! char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0; if (desc) { --- 1076,1080 ---- /* here we get the method pointer for callbacks */ ! const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0; if (desc) { |