Overloaded parameters printed for static functions

was incorrect. Fixed.




git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Gonzalo Garramuno 2007-05-03 22:55:38 +00:00
commit 86258412fb

View file

@ -1995,7 +1995,9 @@ public:
if ( !isCtor ) Printv( protoTypes, type, " ", NIL );
Printv(protoTypes, methodName, NIL );
Parm* p = Getattr(sibl, "wrap:parms");
if ( p && isMethod ) p = nextSibling(p); // skip self
if (p && (current == MEMBER_FUNC || current == MEMBER_VAR ||
ctor_director) )
p = nextSibling(p); // skip self
Append( protoTypes, "(" );
while(p)
{