PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Lib/python/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}