From 0599b773771d27801c87f785f1b734627ceebcb0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 4 Aug 2019 14:47:24 +0200 Subject: [PATCH] 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. --- Source/Modules/c.cxx | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Source/Modules/c.cxx b/Source/Modules/c.cxx index 5b4549e89..4fb1c990e 100644 --- a/Source/Modules/c.cxx +++ b/Source/Modules/c.cxx @@ -1559,18 +1559,6 @@ ready: Setattr(n, "sym:name", name); 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 */ /* -----------------------------------------------------------------------------