Skip to content

Commit df657ff

Browse files
committed
Merge pull request #1490 from CocosRobot/update_js_bindings_1425026905
[AUTO] : updating jsbinding automatically
2 parents c19eb19 + fd38228 commit df657ff

File tree

6 files changed

+865
-865
lines changed

6 files changed

+865
-865
lines changed

frameworks/js-bindings/bindings/auto/jsb_cocos2dx_auto.cpp

Lines changed: 618 additions & 618 deletions
Large diffs are not rendered by default.

frameworks/js-bindings/bindings/auto/jsb_cocos2dx_builder_auto.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ bool js_cocos2dx_builder_CCBAnimationManager_runAnimationsForSequenceNamedTweenD
260260
const char* arg0;
261261
double arg1;
262262
std::string arg0_tmp; ok &= jsval_to_std_string(cx, args.get(0), &arg0_tmp); arg0 = arg0_tmp.c_str();
263-
ok &= JS::ToNumber( cx, JS::RootedValue(cx, args.get(1)), &arg1);
263+
ok &= JS::ToNumber( cx, args.get(1), &arg1);
264264
JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_builder_CCBAnimationManager_runAnimationsForSequenceNamedTweenDuration : Error processing arguments");
265265
cobj->runAnimationsForSequenceNamedTweenDuration(arg0, arg1);
266266
args.rval().setUndefined();
@@ -555,7 +555,7 @@ bool js_cocos2dx_builder_CCBAnimationManager_runAnimationsForSequenceIdTweenDura
555555
int arg0;
556556
double arg1;
557557
ok &= jsval_to_int32(cx, args.get(0), (int32_t *)&arg0);
558-
ok &= JS::ToNumber( cx, JS::RootedValue(cx, args.get(1)), &arg1);
558+
ok &= JS::ToNumber( cx, args.get(1), &arg1);
559559
JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_builder_CCBAnimationManager_runAnimationsForSequenceIdTweenDuration : Error processing arguments");
560560
cobj->runAnimationsForSequenceIdTweenDuration(arg0, arg1);
561561
args.rval().setUndefined();
@@ -1404,7 +1404,7 @@ bool js_cocos2dx_builder_CCBReader_setResolutionScale(JSContext *cx, uint32_t ar
14041404
bool ok = true;
14051405
if (argc == 1) {
14061406
double arg0;
1407-
ok &= JS::ToNumber( cx, JS::RootedValue(cx, args.get(0)), &arg0);
1407+
ok &= JS::ToNumber( cx, args.get(0), &arg0);
14081408
JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_builder_CCBReader_setResolutionScale : Error processing arguments");
14091409
cocosbuilder::CCBReader::setResolutionScale(arg0);
14101410
args.rval().setUndefined();

0 commit comments

Comments
 (0)