PageRenderTime 14ms CodeModel.GetById 10ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Lib/ruby/exception.i

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