PageRenderTime 39ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/Lib/ruby/exception.i

#
Swig | 5 lines | 4 code | 1 blank | 0 comment | 0 complexity | c25b2cfccb1af1b2f8b87efa5f29d4f2 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. %include <typemaps/exception.swg>
  2. %insert("runtime") {
  3. %define_as(SWIG_exception(code, msg), %block(%error(code, msg);))
  4. }