Merge pull request #11431 from CocosRobot/update_lua_bindings_1429000943

[AUTO]: updating luabinding automatically
This commit is contained in:
minggo 2015-04-14 17:03:10 +08:00
commit caf308f061
2 changed files with 3 additions and 3 deletions

View File

@ -5871,7 +5871,7 @@ int lua_cocos2dx_ui_Button_getTitleText(lua_State* tolua_S)
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_ui_Button_getTitleText'", nullptr); tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_ui_Button_getTitleText'", nullptr);
return 0; return 0;
} }
const std::string& ret = cobj->getTitleText(); const std::string ret = cobj->getTitleText();
tolua_pushcppstring(tolua_S,ret); tolua_pushcppstring(tolua_S,ret);
return 1; return 1;
} }
@ -6994,7 +6994,7 @@ int lua_cocos2dx_ui_Button_getTitleFontName(lua_State* tolua_S)
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_ui_Button_getTitleFontName'", nullptr); tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_ui_Button_getTitleFontName'", nullptr);
return 0; return 0;
} }
const std::string& ret = cobj->getTitleFontName(); const std::string ret = cobj->getTitleFontName();
tolua_pushcppstring(tolua_S,ret); tolua_pushcppstring(tolua_S,ret);
return 1; return 1;
} }