Merge pull request #16673 from CocosRobot/update_lua_bindings_1476150657

[ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically
This commit is contained in:
子龙山人 2016-10-11 00:34:42 -07:00 committed by GitHub
commit 3c1e6122e0
2 changed files with 4 additions and 4 deletions

View File

@ -19306,7 +19306,7 @@ bool js_cocos2dx_ui_TabHeader_getTitleText(JSContext *cx, uint32_t argc, jsval *
cocos2d::ui::TabHeader* cobj = (cocos2d::ui::TabHeader *)(proxy ? proxy->ptr : NULL); cocos2d::ui::TabHeader* cobj = (cocos2d::ui::TabHeader *)(proxy ? proxy->ptr : NULL);
JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TabHeader_getTitleText : Invalid Native Object"); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TabHeader_getTitleText : Invalid Native Object");
if (argc == 0) { if (argc == 0) {
const std::string ret = cobj->getTitleText(); std::string ret = cobj->getTitleText();
jsval jsret = JSVAL_NULL; jsval jsret = JSVAL_NULL;
jsret = std_string_to_jsval(cx, ret); jsret = std_string_to_jsval(cx, ret);
args.rval().set(jsret); args.rval().set(jsret);
@ -19382,7 +19382,7 @@ bool js_cocos2dx_ui_TabHeader_getTitleFontName(JSContext *cx, uint32_t argc, jsv
cocos2d::ui::TabHeader* cobj = (cocos2d::ui::TabHeader *)(proxy ? proxy->ptr : NULL); cocos2d::ui::TabHeader* cobj = (cocos2d::ui::TabHeader *)(proxy ? proxy->ptr : NULL);
JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TabHeader_getTitleFontName : Invalid Native Object"); JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_TabHeader_getTitleFontName : Invalid Native Object");
if (argc == 0) { if (argc == 0) {
const std::string ret = cobj->getTitleFontName(); std::string ret = cobj->getTitleFontName();
jsval jsret = JSVAL_NULL; jsval jsret = JSVAL_NULL;
jsret = std_string_to_jsval(cx, ret); jsret = std_string_to_jsval(cx, ret);
args.rval().set(jsret); args.rval().set(jsret);

View File

@ -36083,7 +36083,7 @@ int lua_cocos2dx_ui_TabHeader_getTitleText(lua_State* tolua_S)
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_ui_TabHeader_getTitleText'", nullptr); tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_ui_TabHeader_getTitleText'", nullptr);
return 0; return 0;
} }
const std::string ret = cobj->getTitleText(); std::string ret = cobj->getTitleText();
tolua_pushcppstring(tolua_S,ret); tolua_pushcppstring(tolua_S,ret);
return 1; return 1;
} }
@ -36277,7 +36277,7 @@ int lua_cocos2dx_ui_TabHeader_getTitleFontName(lua_State* tolua_S)
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_ui_TabHeader_getTitleFontName'", nullptr); tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_ui_TabHeader_getTitleFontName'", nullptr);
return 0; return 0;
} }
const std::string ret = cobj->getTitleFontName(); std::string ret = cobj->getTitleFontName();
tolua_pushcppstring(tolua_S,ret); tolua_pushcppstring(tolua_S,ret);
return 1; return 1;
} }