add %exceptionclass and %noexceptionclass directives and manage the feature:exceptionclass in a consistent way

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-09-29 13:04:42 +00:00
commit 33a752b0bd
4 changed files with 28 additions and 14 deletions

View file

@ -1954,7 +1954,7 @@ public:
have_constructor = 0;
have_repr = 0;
if (Getattr(n,"feature:exceptionclass")) {
if (checkAttribute(n,"feature:exceptionclass","1")) {
classic = 1;
modern = 0;
}