PageRenderTime 5ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/trunk/Lib/octave/exception.i

#
Swig | 6 lines | 4 code | 2 blank | 0 comment | 0 complexity | 24d24cf653aaacfaf79e4505ae787161 MD5 | raw file
1%include <typemaps/exception.swg>
2
3
4%insert("runtime") {
5  %define_as(SWIG_exception(code, msg), %block(%error(code, msg); SWIG_fail; ))
6}