finishing change from 'static' to 'SWIGINTERN'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ffc93a4bbd
commit
4c873ffb8d
5 changed files with 27 additions and 20 deletions
|
|
@ -1404,12 +1404,19 @@ public:
|
|||
*/
|
||||
|
||||
/* Emit the function call */
|
||||
Printf(f->code, "try {\n");
|
||||
if (directorsEnabled()) {
|
||||
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");
|
||||
|
||||
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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue