%ignore and virtual director methods fix - problem reported by Roy Sutton

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-10-21 23:40:28 +00:00
commit 8d2830b228
5 changed files with 9 additions and 6 deletions

View file

@ -3457,7 +3457,7 @@ int PYTHON::classDirectorMethod(Node *n, Node *parent, String *super) {
if (ignored_method) {
if (!pure_virtual) {
if (is_void)
if (!is_void)
Printf(w->code, "return ");
String *super_call = Swig_method_call(super, l);
Printf(w->code, "%s;\n", super_call);