%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:
William S Fulton 2005-02-15 22:23:59 +00:00
commit fd1a2bcba0

View file

@ -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 */