blob: 5abd306a4eddc9c80ad321440f1a9fb29c56947d [file] [log] [blame]
%typemap(throws,noblock=1) (...) {
SWIG_exception(SWIG_RuntimeError,"unknown exception");
}
%insert("runtime") %{
#define SWIG_exception(code, msg) _swig_gopanic(msg)
%}