[ci skip][AUTO]: updating luabinding & jsbinding automatically

This commit is contained in:
CocosRobot 2015-08-17 15:08:00 +00:00
parent 81d5a8377f
commit 24a63e12ec
1 changed files with 2 additions and 3 deletions

View File

@ -66358,8 +66358,7 @@ bool js_cocos2dx_TMXLayer_getTileGIDAt(JSContext *cx, uint32_t argc, jsval *vp)
cocos2d::Vec2 arg0; cocos2d::Vec2 arg0;
cocos2d::TMXTileFlags_* arg1; cocos2d::TMXTileFlags_* arg1;
ok &= jsval_to_vector2(cx, args.get(0), &arg0); ok &= jsval_to_vector2(cx, args.get(0), &arg0);
#pragma warning NO CONVERSION TO NATIVE FOR TMXTileFlags_* uint32_t tempData;arg1=(cocos2d::TMXTileFlags_*)&tempData;ok &= jsval_to_uint32(cx, args.get(1), (uint32_t *)&arg1);
ok = false;
JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_TMXLayer_getTileGIDAt : Error processing arguments"); JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_TMXLayer_getTileGIDAt : Error processing arguments");
unsigned int ret = cobj->getTileGIDAt(arg0, arg1); unsigned int ret = cobj->getTileGIDAt(arg0, arg1);
jsval jsret = JSVAL_NULL; jsval jsret = JSVAL_NULL;
@ -66652,7 +66651,7 @@ bool js_cocos2dx_TMXLayer_setTileGID(JSContext *cx, uint32_t argc, jsval *vp)
ok &= jsval_to_vector2(cx, args.get(1), &arg1); ok &= jsval_to_vector2(cx, args.get(1), &arg1);
if (!ok) { ok = true; break; } if (!ok) { ok = true; break; }
cocos2d::TMXTileFlags_ arg2; cocos2d::TMXTileFlags_ arg2;
ok &= jsval_to_int32(cx, args.get(2), (int32_t *)&arg2); ok &= jsval_to_uint32(cx, args.get(2), (uint32_t *)&arg2);
if (!ok) { ok = true; break; } if (!ok) { ok = true; break; }
cobj->setTileGID(arg0, arg1, arg2); cobj->setTileGID(arg0, arg1, arg2);
args.rval().setUndefined(); args.rval().setUndefined();