Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overload function export to lua will error #247

Open
mirchd opened this issue Sep 29, 2018 · 1 comment
Open

overload function export to lua will error #247

mirchd opened this issue Sep 29, 2018 · 1 comment

Comments

@mirchd
Copy link

mirchd commented Sep 29, 2018

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
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants