PageRenderTime 20ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Lib/go/exception.i

#
Swig | 7 lines | 6 code | 1 blank | 0 comment | 0 complexity | f5ef41efdcdcebcd0c5b5e1f3d8ba5e8 MD5 | raw file
1%typemap(throws,noblock=1) (...) {
2  SWIG_exception(SWIG_RuntimeError,"unknown exception");
3}
4
5%insert("runtime") %{
6#define SWIG_exception(code, msg) _swig_gopanic(msg)
7%}