Merge pull request #6581 from CocosRobot/update_lua_bindings_1399334264

[AUTO]: updating luabinding automatically
This commit is contained in:
Ricardo Quesada 2014-05-05 17:06:03 -07:00
commit 6a12c01427
2 changed files with 17 additions and 2 deletions

View File

@ -19,9 +19,11 @@
--
-- overload function: create()
--
-- overload function: create(map_table)
--
-- @function [parent=#ParticleSystemQuad] create
-- @param self
-- @param #string str
-- @param #map_table map
-- @return ParticleSystemQuad#ParticleSystemQuad ret (retunr value: cc.ParticleSystemQuad)
--------------------------------

View File

@ -52364,7 +52364,20 @@ int lua_cocos2dx_ParticleSystemQuad_create(lua_State* tolua_S)
}
} while (0);
ok = true;
CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0);
do
{
if (argc == 1)
{
cocos2d::ValueMap arg0;
ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0);
if (!ok) { break; }
cocos2d::ParticleSystemQuad* ret = cocos2d::ParticleSystemQuad::create(arg0);
object_to_luaval<cocos2d::ParticleSystemQuad>(tolua_S, "cc.ParticleSystemQuad",(cocos2d::ParticleSystemQuad*)ret);
return 1;
}
} while (0);
ok = true;
CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 1);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror: