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
This commit is contained in:
parent
998e2249f5
commit
adcb79c680
1 changed files with 6 additions and 0 deletions
6
Lib/scilab/exception.i
Normal file
6
Lib/scilab/exception.i
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
%include <typemaps/exception.swg>
|
||||
|
||||
|
||||
%insert("runtime") {
|
||||
%define_as(SWIG_exception(code, msg), %block(%error(code, msg); SWIG_fail; ))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue