add the %throws directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b604622255
commit
06a949da6d
5 changed files with 112 additions and 0 deletions
|
|
@ -87,6 +87,12 @@
|
|||
#define %noexception %feature("except","0")
|
||||
#define %clearexception %feature("except","")
|
||||
|
||||
|
||||
/* the %throws directive */
|
||||
|
||||
#define %throws(tlist...) %feature("throws","("`tlist`")")
|
||||
#define %clearthrows %feature("throws","")
|
||||
|
||||
/* the %exceptionclass directive */
|
||||
|
||||
#define %exceptionclass %feature("exceptionclass")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue