fix exception, use SWIG_fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8589 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2624e7c08b
commit
7dc39f200c
1 changed files with 1 additions and 1 deletions
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
|
||||
%insert("runtime") {
|
||||
%define_as(SWIG_exception(code, msg), %block(%error(code, msg); return TCL_ERROR;))
|
||||
%define_as(SWIG_exception(code, msg), %block(%error(code, msg); SWIG_fail;))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue