[AUTO]: updating luabinding automatically

This commit is contained in:
CocosRobot 2014-07-17 03:04:08 +00:00
parent 43fe305cc9
commit 9217589b9f
2 changed files with 28 additions and 0 deletions

View File

@ -74,11 +74,13 @@
-- @function [parent=#FileUtils] addSearchResolutionsOrder
-- @param self
-- @param #string str
-- @param #bool bool
--------------------------------
-- @function [parent=#FileUtils] addSearchPath
-- @param self
-- @param #string str
-- @param #bool bool
--------------------------------
-- @function [parent=#FileUtils] isFileExist

View File

@ -15520,6 +15520,19 @@ int lua_cocos2dx_FileUtils_addSearchResolutionsOrder(lua_State* tolua_S)
cobj->addSearchResolutionsOrder(arg0);
return 0;
}
if (argc == 2)
{
std::string arg0;
bool arg1;
ok &= luaval_to_std_string(tolua_S, 2,&arg0);
ok &= luaval_to_boolean(tolua_S, 3,&arg1);
if(!ok)
return 0;
cobj->addSearchResolutionsOrder(arg0, arg1);
return 0;
}
CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addSearchResolutionsOrder",argc, 1);
return 0;
@ -15566,6 +15579,19 @@ int lua_cocos2dx_FileUtils_addSearchPath(lua_State* tolua_S)
cobj->addSearchPath(arg0);
return 0;
}
if (argc == 2)
{
std::string arg0;
bool arg1;
ok &= luaval_to_std_string(tolua_S, 2,&arg0);
ok &= luaval_to_boolean(tolua_S, 3,&arg1);
if(!ok)
return 0;
cobj->addSearchPath(arg0, arg1);
return 0;
}
CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addSearchPath",argc, 1);
return 0;