Projects > cpp > Issues > Bug #5707

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

LuaStack::executeFunctionReturnArray hasn't deal with the condition of numArgs == 0

Bug #5707 [Closed]
walzer@cocos2d-x.org 2014-07-10 14:27 . Updated about 5 years ago

This is a developer's feedback from QQ.

https://github.com/cocos2d/cocos2d-x/blob/v3/cocos/scripting/lua-bindings/manual/CCLuaStack.cpp#L506
in the function LuaStack::executeFunctionReturnArray, the code hasn't handle the condition of numArgs == 0.
While the following function LuaStack::executeFunction, the logic is correct.

samuele3hu 2014-07-15 08:53
  • Status changed from New to Resolved
  • % Done changed from 0 to 100
zhangxm 2014-07-18 05:50
  • Status changed from Resolved to Closed

Atom PDF

Status:Closed
Start date:2014-07-10
Priority:Urgent
Due date:
Assignee:samuele3hu
% Done:

100%

Category:all
Target version:v3.2