no need for , use
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a78126addd
commit
53cf7fd217
2 changed files with 1 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ namespace swig
|
|||
*/
|
||||
%ignore stop_iteration;
|
||||
%typemap(throws) stop_iteration {
|
||||
(void)$exception;
|
||||
(void)$1;
|
||||
SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
|
||||
SWIG_fail;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -440,7 +440,6 @@ void emit_action(Node *n, Wrapper *f) {
|
|||
} else {
|
||||
Printf(eaction,"catch(%s) {", SwigType_str(et, "&_e"));
|
||||
}
|
||||
Replaceall(em,"$exception","_e");
|
||||
Printv(eaction,em,"\n",NIL);
|
||||
Printf(eaction,"}\n");
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue