change attribute cplus:exceptionclass to feature:exceptionclass. Now it can be enforced with %feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b0f52ade93
commit
66f2d41cc7
2 changed files with 2 additions and 2 deletions
|
|
@ -371,7 +371,7 @@ class Allocate : public Dispatcher {
|
||||||
}
|
}
|
||||||
Node *c = Swig_symbol_clookup(t,0);
|
Node *c = Swig_symbol_clookup(t,0);
|
||||||
if (c) {
|
if (c) {
|
||||||
Setattr(c,"cplus:exceptionclass","1");
|
Setattr(c,"feature:exceptionclass","1");
|
||||||
}
|
}
|
||||||
p = nextSibling(p);
|
p = nextSibling(p);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1178,7 +1178,7 @@ CHICKEN::classHandler(Node *n)
|
||||||
/* Create new strings for building up a wrapper function */
|
/* Create new strings for building up a wrapper function */
|
||||||
have_constructor = 0;
|
have_constructor = 0;
|
||||||
|
|
||||||
if (Getattr(n,"cplus:exceptionclass")) {
|
if (Getattr(n,"feature:exceptionclass")) {
|
||||||
classic = 1;
|
classic = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue