%exception fixes for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
edd9bb98e5
commit
fd1a2bcba0
1 changed files with 5 additions and 0 deletions
|
|
@ -59,8 +59,13 @@
|
|||
|
||||
/* Common features */
|
||||
|
||||
#ifdef SWIGCSHARP
|
||||
#define %exception %feature("except", canthrow=1)
|
||||
#else
|
||||
#define %exception %feature("except")
|
||||
#endif
|
||||
#define %noexception %feature("except","")
|
||||
|
||||
#define %newobject %feature("new")
|
||||
|
||||
/* Warnings */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue