From adcb79c68083d94559220806e3c8bcb80d4acb97 Mon Sep 17 00:00:00 2001 From: Vincent Couvert Date: Tue, 4 Jan 2011 15:58:53 +0000 Subject: [PATCH] Needed by some tests and avoid the use of obsolete exception.i file git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12368 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/scilab/exception.i | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Lib/scilab/exception.i diff --git a/Lib/scilab/exception.i b/Lib/scilab/exception.i new file mode 100644 index 000000000..bb0b15c9d --- /dev/null +++ b/Lib/scilab/exception.i @@ -0,0 +1,6 @@ +%include + + +%insert("runtime") { + %define_as(SWIG_exception(code, msg), %block(%error(code, msg); SWIG_fail; )) +}