/trunk/Lib/go/exception.i
Swig | 7 lines | 6 code | 1 blank | 0 comment | 0 complexity | f5ef41efdcdcebcd0c5b5e1f3d8ba5e8 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- %typemap(throws,noblock=1) (...) {
- SWIG_exception(SWIG_RuntimeError,"unknown exception");
- }
- %insert("runtime") %{
- #define SWIG_exception(code, msg) _swig_gopanic(msg)
- %}