From: <gg...@us...> - 2007-05-03 22:55:41
|
Revision: 9768 http://swig.svn.sourceforge.net/swig/?rev=9768&view=rev Author: gga73 Date: 2007-05-03 15:55:38 -0700 (Thu, 03 May 2007) Log Message: ----------- Overloaded parameters printed for static functions was incorrect. Fixed. Modified Paths: -------------- trunk/Source/Modules/ruby.cxx Modified: trunk/Source/Modules/ruby.cxx =================================================================== --- trunk/Source/Modules/ruby.cxx 2007-05-03 22:45:13 UTC (rev 9767) +++ trunk/Source/Modules/ruby.cxx 2007-05-03 22:55:38 UTC (rev 9768) @@ -1995,7 +1995,9 @@ 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) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |