Patch #1116431 Fix non member functions inadvertently being called instead of member functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7500 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6d476c432c
commit
de19ddb6ee
1 changed files with 7 additions and 4 deletions
|
|
@ -1147,10 +1147,7 @@ public:
|
||||||
/* If we are inheriting from a base class, set that up */
|
/* If we are inheriting from a base class, set that up */
|
||||||
|
|
||||||
|
|
||||||
Printv(pm, "@ISA = qw( ", NIL);
|
Printv(pm, "@ISA = qw(", NIL);
|
||||||
if (!compat || Cmp(fullmodule, fullclassname)) {
|
|
||||||
Printv(pm, fullmodule, NIL);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Handle inheritance */
|
/* Handle inheritance */
|
||||||
List *baselist = Getattr(n,"bases");
|
List *baselist = Getattr(n,"bases");
|
||||||
|
|
@ -1167,6 +1164,12 @@ public:
|
||||||
b = Next(b);
|
b = Next(b);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Module comes last */
|
||||||
|
if (!compat || Cmp(fullmodule, fullclassname)) {
|
||||||
|
Printv(pm, " ", fullmodule, NIL);
|
||||||
|
}
|
||||||
|
|
||||||
Printf(pm, " );\n");
|
Printf(pm, " );\n");
|
||||||
|
|
||||||
/* Dump out a hash table containing the pointers that we own */
|
/* Dump out a hash table containing the pointers that we own */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue