fix for abstract
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6738 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
23a4437e47
commit
586f7a876d
1 changed files with 1 additions and 1 deletions
|
|
@ -891,8 +891,8 @@ Swig_ConstructorToFunction(Node *n, String *classname,
|
|||
if (cplus) {
|
||||
/* if a C++ director class exists, create it rather than the original class */
|
||||
if (use_director) {
|
||||
int abstract = Getattr(n, "abstract") != 0;
|
||||
Node *parent = Swig_methodclass(n);
|
||||
int abstract = Getattr(parent, "abstract") != 0;
|
||||
String *name = Getattr(parent, "sym:name");
|
||||
String* directorname = NewStringf("SwigDirector_%s", name);
|
||||
String* action = NewString("");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue