backward compatible definition of SWIG_excetion, we now just try to use the safer SWIG_exception_fail when needed

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8595 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-28 17:37:03 +00:00
commit 549abbb959

View file

@ -2,5 +2,5 @@
%insert("runtime") {
%define_as(SWIG_exception(code, msg), %block(%error(code, msg); SWIG_fail;))
%define_as(SWIG_exception(code, msg), %block(%error(code, msg); return TCL_ERROR;))
}