From 0e4a2092416ee3f3369ebdb4dee96698eaf1076b Mon Sep 17 00:00:00 2001 From: CocosRobot Date: Tue, 14 Apr 2015 08:44:30 +0000 Subject: [PATCH] [AUTO]: updating luabinding automatically --- cocos/scripting/lua-bindings/auto/api/Button.lua | 2 +- cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cocos/scripting/lua-bindings/auto/api/Button.lua b/cocos/scripting/lua-bindings/auto/api/Button.lua index 2885ca84b7..ad12d1df66 100644 --- a/cocos/scripting/lua-bindings/auto/api/Button.lua +++ b/cocos/scripting/lua-bindings/auto/api/Button.lua @@ -36,7 +36,7 @@ -- @return Label#Label ret (return value: cc.Label) -------------------------------- --- brief Return a zoom scale
+-- brief Return a zoom scale
-- return the zoom scale in float
-- since v3.3 -- @function [parent=#Button] getZoomScale diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.cpp index 04d1dec76b..27a9e3ea5a 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.cpp @@ -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); return 0; } - const std::string& ret = cobj->getTitleText(); + const std::string ret = cobj->getTitleText(); tolua_pushcppstring(tolua_S,ret); 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); return 0; } - const std::string& ret = cobj->getTitleFontName(); + const std::string ret = cobj->getTitleFontName(); tolua_pushcppstring(tolua_S,ret); return 1; }