Remove useless overridden extendDirective()
There is no need to override it just to call the base class version. Also remove the outdated comment, as %extend is supported currently (albeit with some bugs remaining). No real changes.
This commit is contained in:
parent
7bef0b704d
commit
0599b77377
1 changed files with 0 additions and 12 deletions
|
|
@ -1559,18 +1559,6 @@ ready:
|
||||||
Setattr(n, "sym:name", name);
|
Setattr(n, "sym:name", name);
|
||||||
return Language::classDeclaration(n);
|
return Language::classDeclaration(n);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------
|
|
||||||
* extendDirective()
|
|
||||||
*
|
|
||||||
* The idea is to extend the class with additional variables, using
|
|
||||||
* SwigObj structs. This is not implemented yet.
|
|
||||||
* --------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
virtual int extendDirective(Node *n) {
|
|
||||||
return Language::extendDirective(n);
|
|
||||||
}
|
|
||||||
|
|
||||||
}; /* class C */
|
}; /* class C */
|
||||||
|
|
||||||
/* -----------------------------------------------------------------------------
|
/* -----------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue