From: Marcelo M. <mar...@us...> - 2005-02-25 07:41:06
|
Update of /cvsroot/swig/SWIG/Source/Modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18043/Source/Modules Modified Files: python.cxx Log Message: finishing change from 'static' to 'SWIGINTERN' Index: python.cxx =================================================================== RCS file: /cvsroot/swig/SWIG/Source/Modules/python.cxx,v retrieving revision 1.86 retrieving revision 1.87 diff -C2 -d -r1.86 -r1.87 *** python.cxx 25 Feb 2005 07:18:42 -0000 1.86 --- python.cxx 25 Feb 2005 07:40:41 -0000 1.87 *************** *** 1405,1414 **** /* Emit the function call */ ! Printf(f->code, "try {\n"); emit_action(n,f); ! Printf(f->code, "} catch (Swig::DirectorException& e) {\n"); ! Printf(f->code, " SWIG_Python_AddErrMesg(e.getMessage(), 1);\n"); ! Printf(f->code, " SWIG_fail;\n"); ! Printf(f->code, "}\n"); /* This part below still needs cleanup */ --- 1405,1421 ---- /* Emit the function call */ ! if (directorsEnabled()) { ! Printf(f->code, "try {\n"); ! } ! emit_action(n,f); ! ! if (directorsEnabled()) { ! Printf(f->code, "} catch (Swig::DirectorException& e) {\n"); ! Printf(f->code, " SWIG_Python_AddErrMesg(e.getMessage(), 1);\n"); ! Printf(f->code, " SWIG_fail;\n"); ! Printf(f->code, "}\n"); ! } ! /* This part below still needs cleanup */ |