mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
[ci skip][AUTO]: updating jsbinding automatically
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -2246,8 +2246,8 @@ static bool js_cocos2dx_extension_ControlButton_ctor(JSContext *cx, uint32_t arg
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::extension::ControlButton *nobj = new (std::nothrow) cocos2d::extension::ControlButton();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::extension::ControlButton");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::extension::ControlButton");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -3202,8 +3202,8 @@ static bool js_cocos2dx_extension_ControlColourPicker_ctor(JSContext *cx, uint32
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::extension::ControlColourPicker *nobj = new (std::nothrow) cocos2d::extension::ControlColourPicker();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::extension::ControlColourPicker");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::extension::ControlColourPicker");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -3730,8 +3730,8 @@ static bool js_cocos2dx_extension_ControlPotentiometer_ctor(JSContext *cx, uint3
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::extension::ControlPotentiometer *nobj = new (std::nothrow) cocos2d::extension::ControlPotentiometer();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::extension::ControlPotentiometer");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::extension::ControlPotentiometer");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -4527,8 +4527,8 @@ static bool js_cocos2dx_extension_ControlSlider_ctor(JSContext *cx, uint32_t arg
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::extension::ControlSlider *nobj = new (std::nothrow) cocos2d::extension::ControlSlider();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::extension::ControlSlider");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::extension::ControlSlider");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -5117,8 +5117,8 @@ static bool js_cocos2dx_extension_ControlStepper_ctor(JSContext *cx, uint32_t ar
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::extension::ControlStepper *nobj = new (std::nothrow) cocos2d::extension::ControlStepper();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::extension::ControlStepper");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::extension::ControlStepper");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -5614,8 +5614,8 @@ static bool js_cocos2dx_extension_ControlSwitch_ctor(JSContext *cx, uint32_t arg
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::extension::ControlSwitch *nobj = new (std::nothrow) cocos2d::extension::ControlSwitch();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::extension::ControlSwitch");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::extension::ControlSwitch");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -6442,8 +6442,8 @@ static bool js_cocos2dx_extension_ScrollView_ctor(JSContext *cx, uint32_t argc,
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::extension::ScrollView *nobj = new (std::nothrow) cocos2d::extension::ScrollView();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::extension::ScrollView");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::extension::ScrollView");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -6626,8 +6626,8 @@ static bool js_cocos2dx_extension_TableViewCell_ctor(JSContext *cx, uint32_t arg
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::extension::TableViewCell *nobj = new (std::nothrow) cocos2d::extension::TableViewCell();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::extension::TableViewCell");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::extension::TableViewCell");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -6978,8 +6978,8 @@ static bool js_cocos2dx_extension_TableView_ctor(JSContext *cx, uint32_t argc, j
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::extension::TableView *nobj = new (std::nothrow) cocos2d::extension::TableView();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::extension::TableView");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::extension::TableView");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
|
||||
@@ -5846,8 +5846,8 @@ static bool js_cocos2dx_studio_Armature_ctor(JSContext *cx, uint32_t argc, jsval
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocostudio::Armature *nobj = new (std::nothrow) cocostudio::Armature();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocostudio::Armature");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocostudio::Armature");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -7474,8 +7474,8 @@ static bool js_cocos2dx_studio_ComController_ctor(JSContext *cx, uint32_t argc,
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocostudio::ComController *nobj = new (std::nothrow) cocostudio::ComController();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocostudio::ComController");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocostudio::ComController");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -12053,8 +12053,8 @@ static bool js_cocos2dx_studio_BoneNode_ctor(JSContext *cx, uint32_t argc, jsval
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocostudio::timeline::BoneNode *nobj = new (std::nothrow) cocostudio::timeline::BoneNode();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocostudio::timeline::BoneNode");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocostudio::timeline::BoneNode");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -12273,8 +12273,8 @@ static bool js_cocos2dx_studio_SkeletonNode_ctor(JSContext *cx, uint32_t argc, j
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocostudio::timeline::SkeletonNode *nobj = new (std::nothrow) cocostudio::timeline::SkeletonNode();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocostudio::timeline::SkeletonNode");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocostudio::timeline::SkeletonNode");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
|
||||
@@ -2054,8 +2054,8 @@ static bool js_cocos2dx_ui_Widget_ctor(JSContext *cx, uint32_t argc, jsval *vp)
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::Widget *nobj = new (std::nothrow) cocos2d::ui::Widget();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::Widget");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::Widget");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -2887,8 +2887,8 @@ static bool js_cocos2dx_ui_Layout_ctor(JSContext *cx, uint32_t argc, jsval *vp)
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::Layout *nobj = new (std::nothrow) cocos2d::ui::Layout();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::Layout");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::Layout");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -3943,8 +3943,8 @@ static bool js_cocos2dx_ui_Button_ctor(JSContext *cx, uint32_t argc, jsval *vp)
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::Button *nobj = new (std::nothrow) cocos2d::ui::Button();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::Button");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::Button");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -4827,8 +4827,8 @@ static bool js_cocos2dx_ui_CheckBox_ctor(JSContext *cx, uint32_t argc, jsval *vp
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::CheckBox *nobj = new (std::nothrow) cocos2d::ui::CheckBox();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::CheckBox");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::CheckBox");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -5084,8 +5084,8 @@ static bool js_cocos2dx_ui_RadioButton_ctor(JSContext *cx, uint32_t argc, jsval
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::RadioButton *nobj = new (std::nothrow) cocos2d::ui::RadioButton();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::RadioButton");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::RadioButton");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -5493,8 +5493,8 @@ static bool js_cocos2dx_ui_RadioButtonGroup_ctor(JSContext *cx, uint32_t argc, j
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::RadioButtonGroup *nobj = new (std::nothrow) cocos2d::ui::RadioButtonGroup();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::RadioButtonGroup");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::RadioButtonGroup");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -5823,8 +5823,8 @@ static bool js_cocos2dx_ui_ImageView_ctor(JSContext *cx, uint32_t argc, jsval *v
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::ImageView *nobj = new (std::nothrow) cocos2d::ui::ImageView();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::ImageView");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::ImageView");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -6598,8 +6598,8 @@ static bool js_cocos2dx_ui_Text_ctor(JSContext *cx, uint32_t argc, jsval *vp)
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::Text *nobj = new (std::nothrow) cocos2d::ui::Text();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::Text");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::Text");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -6880,8 +6880,8 @@ static bool js_cocos2dx_ui_TextAtlas_ctor(JSContext *cx, uint32_t argc, jsval *v
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::TextAtlas *nobj = new (std::nothrow) cocos2d::ui::TextAtlas();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::TextAtlas");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::TextAtlas");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -7271,8 +7271,8 @@ static bool js_cocos2dx_ui_LoadingBar_ctor(JSContext *cx, uint32_t argc, jsval *
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::LoadingBar *nobj = new (std::nothrow) cocos2d::ui::LoadingBar();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::LoadingBar");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::LoadingBar");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -8452,8 +8452,8 @@ static bool js_cocos2dx_ui_ScrollView_ctor(JSContext *cx, uint32_t argc, jsval *
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::ScrollView *nobj = new (std::nothrow) cocos2d::ui::ScrollView();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::ScrollView");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::ScrollView");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -9367,8 +9367,8 @@ static bool js_cocos2dx_ui_ListView_ctor(JSContext *cx, uint32_t argc, jsval *vp
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::ListView *nobj = new (std::nothrow) cocos2d::ui::ListView();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::ListView");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::ListView");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -10138,8 +10138,8 @@ static bool js_cocos2dx_ui_Slider_ctor(JSContext *cx, uint32_t argc, jsval *vp)
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::Slider *nobj = new (std::nothrow) cocos2d::ui::Slider();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::Slider");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::Slider");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -11825,8 +11825,8 @@ static bool js_cocos2dx_ui_TextField_ctor(JSContext *cx, uint32_t argc, jsval *v
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::TextField *nobj = new (std::nothrow) cocos2d::ui::TextField();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::TextField");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::TextField");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -12104,8 +12104,8 @@ static bool js_cocos2dx_ui_TextBMFont_ctor(JSContext *cx, uint32_t argc, jsval *
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::TextBMFont *nobj = new (std::nothrow) cocos2d::ui::TextBMFont();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::TextBMFont");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::TextBMFont");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -12771,8 +12771,8 @@ static bool js_cocos2dx_ui_PageView_ctor(JSContext *cx, uint32_t argc, jsval *vp
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::PageView *nobj = new (std::nothrow) cocos2d::ui::PageView();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::PageView");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::PageView");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -13213,8 +13213,8 @@ static bool js_cocos2dx_ui_RichElement_ctor(JSContext *cx, uint32_t argc, jsval
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::RichElement *nobj = new (std::nothrow) cocos2d::ui::RichElement();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::RichElement");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::RichElement");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -13784,8 +13784,8 @@ static bool js_cocos2dx_ui_RichElementText_ctor(JSContext *cx, uint32_t argc, js
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::RichElementText *nobj = new (std::nothrow) cocos2d::ui::RichElementText();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::RichElementText");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::RichElementText");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -14018,8 +14018,8 @@ static bool js_cocos2dx_ui_RichElementImage_ctor(JSContext *cx, uint32_t argc, j
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::RichElementImage *nobj = new (std::nothrow) cocos2d::ui::RichElementImage();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::RichElementImage");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::RichElementImage");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -14174,8 +14174,8 @@ static bool js_cocos2dx_ui_RichElementCustomNode_ctor(JSContext *cx, uint32_t ar
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::RichElementCustomNode *nobj = new (std::nothrow) cocos2d::ui::RichElementCustomNode();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::RichElementCustomNode");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::RichElementCustomNode");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -14281,8 +14281,8 @@ static bool js_cocos2dx_ui_RichElementNewLine_ctor(JSContext *cx, uint32_t argc,
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::RichElementNewLine *nobj = new (std::nothrow) cocos2d::ui::RichElementNewLine();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::RichElementNewLine");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::RichElementNewLine");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -15428,8 +15428,8 @@ static bool js_cocos2dx_ui_RichText_ctor(JSContext *cx, uint32_t argc, jsval *vp
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::RichText *nobj = new (std::nothrow) cocos2d::ui::RichText();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::RichText");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::RichText");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -15616,8 +15616,8 @@ static bool js_cocos2dx_ui_HBox_ctor(JSContext *cx, uint32_t argc, jsval *vp)
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::HBox *nobj = new (std::nothrow) cocos2d::ui::HBox();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::HBox");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::HBox");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -15760,8 +15760,8 @@ static bool js_cocos2dx_ui_VBox_ctor(JSContext *cx, uint32_t argc, jsval *vp)
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::VBox *nobj = new (std::nothrow) cocos2d::ui::VBox();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::VBox");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::VBox");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -15904,8 +15904,8 @@ static bool js_cocos2dx_ui_RelativeBox_ctor(JSContext *cx, uint32_t argc, jsval
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::RelativeBox *nobj = new (std::nothrow) cocos2d::ui::RelativeBox();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::RelativeBox");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::RelativeBox");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -17185,8 +17185,8 @@ static bool js_cocos2dx_ui_Scale9Sprite_ctor(JSContext *cx, uint32_t argc, jsval
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::Scale9Sprite *nobj = new (std::nothrow) cocos2d::ui::Scale9Sprite();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::Scale9Sprite");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::Scale9Sprite");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -17943,8 +17943,8 @@ static bool js_cocos2dx_ui_EditBox_ctor(JSContext *cx, uint32_t argc, jsval *vp)
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::EditBox *nobj = new (std::nothrow) cocos2d::ui::EditBox();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::EditBox");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::EditBox");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -19021,8 +19021,8 @@ static bool js_cocos2dx_ui_LayoutComponent_ctor(JSContext *cx, uint32_t argc, js
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
cocos2d::ui::LayoutComponent *nobj = new (std::nothrow) cocos2d::ui::LayoutComponent();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::LayoutComponent");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::LayoutComponent");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -20316,8 +20316,8 @@ static bool js_cocos2dx_ui_ScrollViewBar_ctor(JSContext *cx, uint32_t argc, jsva
|
||||
ok &= jsval_to_int32(cx, args.get(1), (int32_t *)&arg1);
|
||||
JSB_PRECONDITION2(ok, cx, false, "js_cocos2d_ui_ScrollViewBar_ctor : Error processing arguments");
|
||||
cocos2d::ui::ScrollViewBar *nobj = new (std::nothrow) cocos2d::ui::ScrollViewBar(arg0, arg1);
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "cocos2d::ui::ScrollViewBar");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "cocos2d::ui::ScrollViewBar");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
|
||||
@@ -775,8 +775,8 @@ static bool js_creator_Scale9SpriteV2_ctor(JSContext *cx, uint32_t argc, jsval *
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
creator::Scale9SpriteV2 *nobj = new (std::nothrow) creator::Scale9SpriteV2();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "creator::Scale9SpriteV2");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "creator::Scale9SpriteV2");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
@@ -1565,8 +1565,8 @@ static bool js_creator_GraphicsNode_ctor(JSContext *cx, uint32_t argc, jsval *vp
|
||||
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
|
||||
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
|
||||
creator::GraphicsNode *nobj = new (std::nothrow) creator::GraphicsNode();
|
||||
auto newproxy = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &newproxy->obj, nobj, "creator::GraphicsNode");
|
||||
js_proxy_t* p = jsb_new_proxy(nobj, obj);
|
||||
jsb_ref_init(cx, &p->obj, nobj, "creator::GraphicsNode");
|
||||
bool isFound = false;
|
||||
if (JS_HasProperty(cx, obj, "_ctor", &isFound) && isFound)
|
||||
ScriptingCore::getInstance()->executeFunctionWithOwner(OBJECT_TO_JSVAL(obj), "_ctor", args);
|
||||
|
||||
Reference in New Issue
Block a user