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:
Vadim Zeitlin 2019-08-04 14:47:24 +02:00
commit 0599b77377

View file

@ -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 */
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------