mirror of https://github.com/axmolengine/axmol.git
Merge pull request #6581 from CocosRobot/update_lua_bindings_1399334264
[AUTO]: updating luabinding automatically
This commit is contained in:
commit
6a12c01427
|
@ -19,9 +19,11 @@
|
||||||
--
|
--
|
||||||
-- overload function: create()
|
-- overload function: create()
|
||||||
--
|
--
|
||||||
|
-- overload function: create(map_table)
|
||||||
|
--
|
||||||
-- @function [parent=#ParticleSystemQuad] create
|
-- @function [parent=#ParticleSystemQuad] create
|
||||||
-- @param self
|
-- @param self
|
||||||
-- @param #string str
|
-- @param #map_table map
|
||||||
-- @return ParticleSystemQuad#ParticleSystemQuad ret (retunr value: cc.ParticleSystemQuad)
|
-- @return ParticleSystemQuad#ParticleSystemQuad ret (retunr value: cc.ParticleSystemQuad)
|
||||||
|
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
|
@ -52364,7 +52364,20 @@ int lua_cocos2dx_ParticleSystemQuad_create(lua_State* tolua_S)
|
||||||
}
|
}
|
||||||
} while (0);
|
} while (0);
|
||||||
ok = true;
|
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;
|
return 0;
|
||||||
#if COCOS2D_DEBUG >= 1
|
#if COCOS2D_DEBUG >= 1
|
||||||
tolua_lerror:
|
tolua_lerror:
|
||||||
|
|
Loading…
Reference in New Issue