rename %throws to %catchs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b044703d0d
commit
e676d2f8bd
6 changed files with 62 additions and 35 deletions
|
|
@ -438,6 +438,10 @@
|
|||
%raise(SWIG_NewPointerObj(%as_voidptr(&$1),$descriptor,0), "$type", $descriptor);
|
||||
}
|
||||
|
||||
%typemap(throws,noblock=1) (...) {
|
||||
%raise(SWIG_ErrorType(SWIG_UnknownError), "UnknownType", 0);
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
* --- CLASS::* typemaps ---
|
||||
* ------------------------------------------------------------ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue