cocos2d / bindings-generator

JSBindings generator for C++
170 stars 153 forks source link

Tip opt #133

Open samuele3hu opened 10 years ago

samuele3hu commented 10 years ago

1.For functions that have not overload and not params that have default values,the error tip is "ccui.ScrollView:setInnerContainerSize has wrong number of arguments: 2, the minimum number expected is 1 ,the layout of the parameters are as follows:setInnerContainerSize(cc.Size)" 2.For functions that have not overload and have params that have default values,the error tip is " cc.FileUtils:addSearchPat has wrong number of arguments: 3, the minimum number expected is 1 ,the layout of the parameters are as follows:addSearchPath(string) or addSearchPath(string, bool)")" 3.For functions that have overload,the error tip is "cc.Node:addChild has wrong number of arguments:4, the minimum number expected is 2, the layout of the parameters are as follows:addChild(cc.Node, int) or addChild(cc.Node) or addChild(cc.Node, int, int) or addChild(cc.Node, int, string)"