better throws(...) typemap

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8377 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-11 23:12:34 +00:00
commit 4fe0c9530d
2 changed files with 2 additions and 2 deletions

View file

@ -439,7 +439,7 @@
}
%typemap(throws,noblock=1) (...) {
%raise(SWIG_ErrorType(SWIG_UnknownError), "UnknownType", 0);
SWIG_exception(SWIG_RuntimeError,"unknown exception");
}
/* ------------------------------------------------------------