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:
parent
00c8d50988
commit
4fe0c9530d
2 changed files with 2 additions and 2 deletions
|
|
@ -439,7 +439,7 @@
|
|||
}
|
||||
|
||||
%typemap(throws,noblock=1) (...) {
|
||||
%raise(SWIG_ErrorType(SWIG_UnknownError), "UnknownType", 0);
|
||||
SWIG_exception(SWIG_RuntimeError,"unknown exception");
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue