mirror of https://github.com/axmolengine/axmol.git
[ci skip][AUTO]: updating luabinding & jsbinding automatically
This commit is contained in:
parent
dbfb4c793c
commit
6e0887b2c9
|
@ -46066,7 +46066,7 @@ bool js_cocos2dx_Sprite_getResourceType(JSContext *cx, uint32_t argc, jsval *vp)
|
|||
cocos2d::Sprite* cobj = (cocos2d::Sprite *)(proxy ? proxy->ptr : NULL);
|
||||
JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_Sprite_getResourceType : Invalid Native Object");
|
||||
if (argc == 0) {
|
||||
const int ret = cobj->getResourceType();
|
||||
int ret = cobj->getResourceType();
|
||||
jsval jsret = JSVAL_NULL;
|
||||
jsret = int32_to_jsval(cx, ret);
|
||||
args.rval().set(jsret);
|
||||
|
@ -58388,7 +58388,7 @@ bool js_cocos2dx_TextureCache_getTextureFilePath(JSContext *cx, uint32_t argc, j
|
|||
JSB_PRECONDITION2( arg0, cx, false, "Invalid Native Object");
|
||||
} while (0);
|
||||
JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_TextureCache_getTextureFilePath : Error processing arguments");
|
||||
const std::string ret = cobj->getTextureFilePath(arg0);
|
||||
std::string ret = cobj->getTextureFilePath(arg0);
|
||||
jsval jsret = JSVAL_NULL;
|
||||
jsret = std_string_to_jsval(cx, ret);
|
||||
args.rval().set(jsret);
|
||||
|
|
|
@ -12457,7 +12457,7 @@ bool js_cocos2dx_studio_ComExtensionData_getActionTag(JSContext *cx, uint32_t ar
|
|||
cocostudio::ComExtensionData* cobj = (cocostudio::ComExtensionData *)(proxy ? proxy->ptr : NULL);
|
||||
JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_studio_ComExtensionData_getActionTag : Invalid Native Object");
|
||||
if (argc == 0) {
|
||||
const int ret = cobj->getActionTag();
|
||||
int ret = cobj->getActionTag();
|
||||
jsval jsret = JSVAL_NULL;
|
||||
jsret = int32_to_jsval(cx, ret);
|
||||
args.rval().set(jsret);
|
||||
|
|
|
@ -3080,7 +3080,7 @@ bool js_cocos2dx_ui_Button_getTitleText(JSContext *cx, uint32_t argc, jsval *vp)
|
|||
cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL);
|
||||
JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_getTitleText : Invalid Native Object");
|
||||
if (argc == 0) {
|
||||
const std::string ret = cobj->getTitleText();
|
||||
std::string ret = cobj->getTitleText();
|
||||
jsval jsret = JSVAL_NULL;
|
||||
jsret = std_string_to_jsval(cx, ret);
|
||||
args.rval().set(jsret);
|
||||
|
@ -3817,7 +3817,7 @@ bool js_cocos2dx_ui_Button_getTitleFontName(JSContext *cx, uint32_t argc, jsval
|
|||
cocos2d::ui::Button* cobj = (cocos2d::ui::Button *)(proxy ? proxy->ptr : NULL);
|
||||
JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_ui_Button_getTitleFontName : Invalid Native Object");
|
||||
if (argc == 0) {
|
||||
const std::string ret = cobj->getTitleFontName();
|
||||
std::string ret = cobj->getTitleFontName();
|
||||
jsval jsret = JSVAL_NULL;
|
||||
jsret = std_string_to_jsval(cx, ret);
|
||||
args.rval().set(jsret);
|
||||
|
|
|
@ -20451,7 +20451,7 @@ int lua_cocos2dx_PolygonInfo_getArea(lua_State* tolua_S)
|
|||
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_PolygonInfo_getArea'", nullptr);
|
||||
return 0;
|
||||
}
|
||||
const float ret = cobj->getArea();
|
||||
double ret = cobj->getArea();
|
||||
tolua_pushnumber(tolua_S,(lua_Number)ret);
|
||||
return 1;
|
||||
}
|
||||
|
@ -20498,7 +20498,7 @@ int lua_cocos2dx_PolygonInfo_getVertCount(lua_State* tolua_S)
|
|||
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_PolygonInfo_getVertCount'", nullptr);
|
||||
return 0;
|
||||
}
|
||||
const unsigned int ret = cobj->getVertCount();
|
||||
unsigned int ret = cobj->getVertCount();
|
||||
tolua_pushnumber(tolua_S,(lua_Number)ret);
|
||||
return 1;
|
||||
}
|
||||
|
@ -20545,7 +20545,7 @@ int lua_cocos2dx_PolygonInfo_getTrianglesCount(lua_State* tolua_S)
|
|||
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_PolygonInfo_getTrianglesCount'", nullptr);
|
||||
return 0;
|
||||
}
|
||||
const unsigned int ret = cobj->getTrianglesCount();
|
||||
unsigned int ret = cobj->getTrianglesCount();
|
||||
tolua_pushnumber(tolua_S,(lua_Number)ret);
|
||||
return 1;
|
||||
}
|
||||
|
@ -49576,7 +49576,7 @@ int lua_cocos2dx_ClippingRectangleNode_isClippingEnabled(lua_State* tolua_S)
|
|||
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_ClippingRectangleNode_isClippingEnabled'", nullptr);
|
||||
return 0;
|
||||
}
|
||||
const bool ret = cobj->isClippingEnabled();
|
||||
bool ret = cobj->isClippingEnabled();
|
||||
tolua_pushboolean(tolua_S,(bool)ret);
|
||||
return 1;
|
||||
}
|
||||
|
@ -71675,7 +71675,7 @@ int lua_cocos2dx_Sprite_getResourceType(lua_State* tolua_S)
|
|||
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Sprite_getResourceType'", nullptr);
|
||||
return 0;
|
||||
}
|
||||
const int ret = cobj->getResourceType();
|
||||
int ret = cobj->getResourceType();
|
||||
tolua_pushnumber(tolua_S,(lua_Number)ret);
|
||||
return 1;
|
||||
}
|
||||
|
@ -88979,7 +88979,7 @@ int lua_cocos2dx_TextureCache_getTextureFilePath(lua_State* tolua_S)
|
|||
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_TextureCache_getTextureFilePath'", nullptr);
|
||||
return 0;
|
||||
}
|
||||
const std::string ret = cobj->getTextureFilePath(arg0);
|
||||
std::string ret = cobj->getTextureFilePath(arg0);
|
||||
tolua_pushcppstring(tolua_S,ret);
|
||||
return 1;
|
||||
}
|
||||
|
|
|
@ -3192,7 +3192,7 @@ int lua_cocos2dx_studio_DisplayData_changeDisplayToTexture(lua_State* tolua_S)
|
|||
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_studio_DisplayData_changeDisplayToTexture'", nullptr);
|
||||
return 0;
|
||||
}
|
||||
const std::string ret = cocostudio::DisplayData::changeDisplayToTexture(arg0);
|
||||
std::string ret = cocostudio::DisplayData::changeDisplayToTexture(arg0);
|
||||
tolua_pushcppstring(tolua_S,ret);
|
||||
return 1;
|
||||
}
|
||||
|
@ -24859,7 +24859,7 @@ int lua_cocos2dx_studio_ComExtensionData_getActionTag(lua_State* tolua_S)
|
|||
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_studio_ComExtensionData_getActionTag'", nullptr);
|
||||
return 0;
|
||||
}
|
||||
const int ret = cobj->getActionTag();
|
||||
int ret = cobj->getActionTag();
|
||||
tolua_pushnumber(tolua_S,(lua_Number)ret);
|
||||
return 1;
|
||||
}
|
||||
|
|
|
@ -6180,7 +6180,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();
|
||||
std::string ret = cobj->getTitleText();
|
||||
tolua_pushcppstring(tolua_S,ret);
|
||||
return 1;
|
||||
}
|
||||
|
@ -7895,7 +7895,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();
|
||||
std::string ret = cobj->getTitleFontName();
|
||||
tolua_pushcppstring(tolua_S,ret);
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue