cocos2d / bindings-generator

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

overload function export to lua will error #247

Open mirchd opened 6 years ago

mirchd commented 6 years ago

Hi, when two overload member function has the same params nums, the "ifunction_overloaded.c" will judge the first style and break. same as, C++: void Node:addChild(Node child, int localZOrder, const std::string &name) void Node:addChild(Node child, int localZOrder, int tag)

lua: paraentNode:addChild(subNode, 100, "subNodeName")

...

pandamicro commented 5 years ago

Renderer: WebGL Batch Rendering