fix for language that don't support directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
718b31a8fd
commit
452b7bedc5
1 changed files with 2 additions and 1 deletions
|
|
@ -2588,7 +2588,8 @@ String * Language::getClassType() const {
|
|||
int Language::abstractClassTest(Node *n) {
|
||||
List *abstract = Getattr(n,"abstract");
|
||||
if (!abstract) return 0;
|
||||
if (abstract && Cmp(Getattr(n, "feature:director"), "1")) return 1;
|
||||
if (abstract && !directorsEnabled()) return 1;
|
||||
if (Cmp(Getattr(n, "feature:director"), "1")) return 1;
|
||||
/*
|
||||
since now %feature("noabstract") is working, we check
|
||||
that the director is really not abstract.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue