mirror of https://github.com/axmolengine/axmol.git
[AUTO]: updating luabinding automatically
This commit is contained in:
parent
111e08062f
commit
30c91729eb
|
@ -64,14 +64,15 @@
|
|||
-- @param self
|
||||
|
||||
--------------------------------
|
||||
-- overload function: saveToFile(string, cc.Image::Format)
|
||||
-- overload function: saveToFile(string, cc.Image::Format, bool)
|
||||
--
|
||||
-- overload function: saveToFile(string)
|
||||
-- overload function: saveToFile(string, bool)
|
||||
--
|
||||
-- @function [parent=#RenderTexture] saveToFile
|
||||
-- @param self
|
||||
-- @param #string str
|
||||
-- @param #cc.Image::Format format
|
||||
-- @param #bool bool
|
||||
-- @return bool#bool ret (retunr value: bool)
|
||||
|
||||
--------------------------------
|
||||
|
|
|
@ -48007,6 +48007,26 @@ int lua_cocos2dx_RenderTexture_saveToFile(lua_State* tolua_S)
|
|||
}
|
||||
}while(0);
|
||||
ok = true;
|
||||
do{
|
||||
if (argc == 3) {
|
||||
std::string arg0;
|
||||
ok &= luaval_to_std_string(tolua_S, 2,&arg0);
|
||||
|
||||
if (!ok) { break; }
|
||||
cocos2d::Image::Format arg1;
|
||||
ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1);
|
||||
|
||||
if (!ok) { break; }
|
||||
bool arg2;
|
||||
ok &= luaval_to_boolean(tolua_S, 4,&arg2);
|
||||
|
||||
if (!ok) { break; }
|
||||
bool ret = cobj->saveToFile(arg0, arg1, arg2);
|
||||
tolua_pushboolean(tolua_S,(bool)ret);
|
||||
return 1;
|
||||
}
|
||||
}while(0);
|
||||
ok = true;
|
||||
do{
|
||||
if (argc == 1) {
|
||||
std::string arg0;
|
||||
|
@ -48019,6 +48039,22 @@ int lua_cocos2dx_RenderTexture_saveToFile(lua_State* tolua_S)
|
|||
}
|
||||
}while(0);
|
||||
ok = true;
|
||||
do{
|
||||
if (argc == 2) {
|
||||
std::string arg0;
|
||||
ok &= luaval_to_std_string(tolua_S, 2,&arg0);
|
||||
|
||||
if (!ok) { break; }
|
||||
bool arg1;
|
||||
ok &= luaval_to_boolean(tolua_S, 3,&arg1);
|
||||
|
||||
if (!ok) { break; }
|
||||
bool ret = cobj->saveToFile(arg0, arg1);
|
||||
tolua_pushboolean(tolua_S,(bool)ret);
|
||||
return 1;
|
||||
}
|
||||
}while(0);
|
||||
ok = true;
|
||||
CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "saveToFile",argc, 1);
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue