blob: b786f25e2997c62f7e86f4d2a062bb188be1a909 [file] [log] [blame]
%include <typemaps/exception.swg>
%insert("runtime") {
%define_as(SWIG_exception(code, msg), %block(%error(code, msg); SWIG_fail; ))
}