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