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:
parent
8e630bd57d
commit
86258412fb
1 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue