From baefdc2e8982aac25d123c1ad965bfe1c08775d1 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Sat, 28 Jan 2006 17:37:03 +0000 Subject: [PATCH] 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@8595 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Lib/tcl/exception.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SWIG/Lib/tcl/exception.i b/SWIG/Lib/tcl/exception.i index dcccfed04..4d22797cc 100644 --- a/SWIG/Lib/tcl/exception.i +++ b/SWIG/Lib/tcl/exception.i @@ -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;)) }