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

This commit is contained in:
CocosRobot 2015-06-18 08:18:00 +00:00
parent aa566a3722
commit 6e849a158d
30 changed files with 0 additions and 73 deletions

View File

@ -964,22 +964,6 @@ removeAllPhysics3DConstraints : function (
{ {
}, },
/**
* @method rayCast
* @param {vec3_object} arg0
* @param {vec3_object} arg1
* @param {cc.Physics3DWorld::HitResult} arg2
* @return {bool}
*/
rayCast : function (
vec3,
vec3,
hitresult
)
{
return false;
},
/** /**
* @method getGravity * @method getGravity
* @return {vec3_object} * @return {vec3_object}

View File

@ -5,7 +5,6 @@
#include "jsapi.h" #include "jsapi.h"
#include "jsfriendapi.h" #include "jsfriendapi.h"
extern JSClass *jsb_cocos2d_Animation3D_class; extern JSClass *jsb_cocos2d_Animation3D_class;
extern JSObject *jsb_cocos2d_Animation3D_prototype; extern JSObject *jsb_cocos2d_Animation3D_prototype;

View File

@ -5,7 +5,6 @@
#include "jsapi.h" #include "jsapi.h"
#include "jsfriendapi.h" #include "jsfriendapi.h"
extern JSClass *jsb_cocos2d_ParticleSystem3D_class; extern JSClass *jsb_cocos2d_ParticleSystem3D_class;
extern JSObject *jsb_cocos2d_ParticleSystem3D_prototype; extern JSObject *jsb_cocos2d_ParticleSystem3D_prototype;

View File

@ -5,7 +5,6 @@
#include "jsapi.h" #include "jsapi.h"
#include "jsfriendapi.h" #include "jsfriendapi.h"
extern JSClass *jsb_cocos2d_Texture2D_class; extern JSClass *jsb_cocos2d_Texture2D_class;
extern JSObject *jsb_cocos2d_Texture2D_prototype; extern JSObject *jsb_cocos2d_Texture2D_prototype;

View File

@ -5,7 +5,6 @@
#include "jsapi.h" #include "jsapi.h"
#include "jsfriendapi.h" #include "jsfriendapi.h"
extern JSClass *jsb_cocosbuilder_CCBAnimationManager_class; extern JSClass *jsb_cocosbuilder_CCBAnimationManager_class;
extern JSObject *jsb_cocosbuilder_CCBAnimationManager_prototype; extern JSObject *jsb_cocosbuilder_CCBAnimationManager_prototype;

View File

@ -6,7 +6,6 @@
#include "jsapi.h" #include "jsapi.h"
#include "jsfriendapi.h" #include "jsfriendapi.h"
extern JSClass *jsb_cocos2d_experimental_ui_VideoPlayer_class; extern JSClass *jsb_cocos2d_experimental_ui_VideoPlayer_class;
extern JSObject *jsb_cocos2d_experimental_ui_VideoPlayer_prototype; extern JSObject *jsb_cocos2d_experimental_ui_VideoPlayer_prototype;

View File

@ -6,7 +6,6 @@
#include "jsapi.h" #include "jsapi.h"
#include "jsfriendapi.h" #include "jsfriendapi.h"
extern JSClass *jsb_cocos2d_experimental_ui_WebView_class; extern JSClass *jsb_cocos2d_experimental_ui_WebView_class;
extern JSObject *jsb_cocos2d_experimental_ui_WebView_prototype; extern JSObject *jsb_cocos2d_experimental_ui_WebView_prototype;

View File

@ -5,7 +5,6 @@
#include "jsapi.h" #include "jsapi.h"
#include "jsfriendapi.h" #include "jsfriendapi.h"
extern JSClass *jsb_cocos2d_extension_Control_class; extern JSClass *jsb_cocos2d_extension_Control_class;
extern JSObject *jsb_cocos2d_extension_Control_prototype; extern JSObject *jsb_cocos2d_extension_Control_prototype;

View File

@ -2428,33 +2428,6 @@ bool js_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DConstraints(JSContex
JS_ReportError(cx, "js_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DConstraints : wrong number of arguments: %d, was expecting %d", argc, 0); JS_ReportError(cx, "js_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DConstraints : wrong number of arguments: %d, was expecting %d", argc, 0);
return false; return false;
} }
bool js_cocos2dx_physics3d_Physics3DWorld_rayCast(JSContext *cx, uint32_t argc, jsval *vp)
{
JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
bool ok = true;
JS::RootedObject obj(cx, args.thisv().toObjectOrNull());
js_proxy_t *proxy = jsb_get_js_proxy(obj);
cocos2d::Physics3DWorld* cobj = (cocos2d::Physics3DWorld *)(proxy ? proxy->ptr : NULL);
JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_physics3d_Physics3DWorld_rayCast : Invalid Native Object");
if (argc == 3) {
cocos2d::Vec3 arg0;
cocos2d::Vec3 arg1;
cocos2d::Physics3DWorld::HitResult* arg2;
ok &= jsval_to_vector3(cx, args.get(0), &arg0);
ok &= jsval_to_vector3(cx, args.get(1), &arg1);
#pragma warning NO CONVERSION TO NATIVE FOR HitResult*
ok = false;
JSB_PRECONDITION2(ok, cx, false, "js_cocos2dx_physics3d_Physics3DWorld_rayCast : Error processing arguments");
bool ret = cobj->rayCast(arg0, arg1, arg2);
jsval jsret = JSVAL_NULL;
jsret = BOOLEAN_TO_JSVAL(ret);
args.rval().set(jsret);
return true;
}
JS_ReportError(cx, "js_cocos2dx_physics3d_Physics3DWorld_rayCast : wrong number of arguments: %d, was expecting %d", argc, 3);
return false;
}
bool js_cocos2dx_physics3d_Physics3DWorld_getGravity(JSContext *cx, uint32_t argc, jsval *vp) bool js_cocos2dx_physics3d_Physics3DWorld_getGravity(JSContext *cx, uint32_t argc, jsval *vp)
{ {
JS::CallArgs args = JS::CallArgsFromVp(argc, vp); JS::CallArgs args = JS::CallArgsFromVp(argc, vp);
@ -2813,7 +2786,6 @@ void js_register_cocos2dx_physics3d_Physics3DWorld(JSContext *cx, JS::HandleObje
JS_FN("removeAllPhysics3DObjects", js_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DObjects, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("removeAllPhysics3DObjects", js_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DObjects, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE),
JS_FN("isDebugDrawEnabled", js_cocos2dx_physics3d_Physics3DWorld_isDebugDrawEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("isDebugDrawEnabled", js_cocos2dx_physics3d_Physics3DWorld_isDebugDrawEnabled, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE),
JS_FN("removeAllPhysics3DConstraints", js_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DConstraints, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("removeAllPhysics3DConstraints", js_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DConstraints, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE),
JS_FN("rayCast", js_cocos2dx_physics3d_Physics3DWorld_rayCast, 3, JSPROP_PERMANENT | JSPROP_ENUMERATE),
JS_FN("getGravity", js_cocos2dx_physics3d_Physics3DWorld_getGravity, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("getGravity", js_cocos2dx_physics3d_Physics3DWorld_getGravity, 0, JSPROP_PERMANENT | JSPROP_ENUMERATE),
JS_FN("removePhysics3DConstraint", js_cocos2dx_physics3d_Physics3DWorld_removePhysics3DConstraint, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("removePhysics3DConstraint", js_cocos2dx_physics3d_Physics3DWorld_removePhysics3DConstraint, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),
JS_FN("addPhysics3DObject", js_cocos2dx_physics3d_Physics3DWorld_addPhysics3DObject, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE), JS_FN("addPhysics3DObject", js_cocos2dx_physics3d_Physics3DWorld_addPhysics3DObject, 1, JSPROP_PERMANENT | JSPROP_ENUMERATE),

View File

@ -6,7 +6,6 @@
#include "jsapi.h" #include "jsapi.h"
#include "jsfriendapi.h" #include "jsfriendapi.h"
extern JSClass *jsb_cocos2d_Physics3DShape_class; extern JSClass *jsb_cocos2d_Physics3DShape_class;
extern JSObject *jsb_cocos2d_Physics3DShape_prototype; extern JSObject *jsb_cocos2d_Physics3DShape_prototype;
@ -144,7 +143,6 @@ bool js_cocos2dx_physics3d_Physics3DWorld_init(JSContext *cx, uint32_t argc, jsv
bool js_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DObjects(JSContext *cx, uint32_t argc, jsval *vp); bool js_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DObjects(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_physics3d_Physics3DWorld_isDebugDrawEnabled(JSContext *cx, uint32_t argc, jsval *vp); bool js_cocos2dx_physics3d_Physics3DWorld_isDebugDrawEnabled(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DConstraints(JSContext *cx, uint32_t argc, jsval *vp); bool js_cocos2dx_physics3d_Physics3DWorld_removeAllPhysics3DConstraints(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_physics3d_Physics3DWorld_rayCast(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_physics3d_Physics3DWorld_getGravity(JSContext *cx, uint32_t argc, jsval *vp); bool js_cocos2dx_physics3d_Physics3DWorld_getGravity(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_physics3d_Physics3DWorld_removePhysics3DConstraint(JSContext *cx, uint32_t argc, jsval *vp); bool js_cocos2dx_physics3d_Physics3DWorld_removePhysics3DConstraint(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_physics3d_Physics3DWorld_addPhysics3DObject(JSContext *cx, uint32_t argc, jsval *vp); bool js_cocos2dx_physics3d_Physics3DWorld_addPhysics3DObject(JSContext *cx, uint32_t argc, jsval *vp);

View File

@ -5,7 +5,6 @@
#include "jsapi.h" #include "jsapi.h"
#include "jsfriendapi.h" #include "jsfriendapi.h"
extern JSClass *jsb_spine_SkeletonRenderer_class; extern JSClass *jsb_spine_SkeletonRenderer_class;
extern JSObject *jsb_spine_SkeletonRenderer_prototype; extern JSObject *jsb_spine_SkeletonRenderer_prototype;

View File

@ -5,7 +5,6 @@
#include "jsapi.h" #include "jsapi.h"
#include "jsfriendapi.h" #include "jsfriendapi.h"
extern JSClass *jsb_cocostudio_ActionObject_class; extern JSClass *jsb_cocostudio_ActionObject_class;
extern JSObject *jsb_cocostudio_ActionObject_prototype; extern JSObject *jsb_cocostudio_ActionObject_prototype;

View File

@ -5,7 +5,6 @@
#include "jsapi.h" #include "jsapi.h"
#include "jsfriendapi.h" #include "jsfriendapi.h"
extern JSClass *jsb_cocos2d_ui_LayoutParameter_class; extern JSClass *jsb_cocos2d_ui_LayoutParameter_class;
extern JSObject *jsb_cocos2d_ui_LayoutParameter_prototype; extern JSObject *jsb_cocos2d_ui_LayoutParameter_prototype;

View File

@ -5,7 +5,6 @@
#include "LuaBasicConversions.h" #include "LuaBasicConversions.h"
int lua_cocos2dx_3d_Animation3D_initWithFile(lua_State* tolua_S) int lua_cocos2dx_3d_Animation3D_initWithFile(lua_State* tolua_S)
{ {
int argc = 0; int argc = 0;

View File

@ -5,7 +5,6 @@
#include "LuaBasicConversions.h" #include "LuaBasicConversions.h"
int lua_cocos2dx_audioengine_AudioProfile_constructor(lua_State* tolua_S) int lua_cocos2dx_audioengine_AudioProfile_constructor(lua_State* tolua_S)
{ {
int argc = 0; int argc = 0;

View File

@ -6,7 +6,6 @@
#include "LuaBasicConversions.h" #include "LuaBasicConversions.h"
int lua_cocos2dx_Ref_release(lua_State* tolua_S) int lua_cocos2dx_Ref_release(lua_State* tolua_S)
{ {
int argc = 0; int argc = 0;

View File

@ -4,7 +4,6 @@
#include "LuaBasicConversions.h" #include "LuaBasicConversions.h"
int lua_cocos2dx_cocosbuilder_CCBAnimationManager_moveAnimationsFromNode(lua_State* tolua_S) int lua_cocos2dx_cocosbuilder_CCBAnimationManager_moveAnimationsFromNode(lua_State* tolua_S)
{ {
int argc = 0; int argc = 0;

View File

@ -4,7 +4,6 @@
#include "LuaBasicConversions.h" #include "LuaBasicConversions.h"
int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_preloadBackgroundMusic(lua_State* tolua_S) int lua_cocos2dx_cocosdenshion_SimpleAudioEngine_preloadBackgroundMusic(lua_State* tolua_S)
{ {
int argc = 0; int argc = 0;

View File

@ -5,7 +5,6 @@
#include "LuaBasicConversions.h" #include "LuaBasicConversions.h"
int lua_cocos2dx_controller_Controller_receiveExternalKeyEvent(lua_State* tolua_S) int lua_cocos2dx_controller_Controller_receiveExternalKeyEvent(lua_State* tolua_S)
{ {
int argc = 0; int argc = 0;

View File

@ -4,7 +4,6 @@
#include "LuaBasicConversions.h" #include "LuaBasicConversions.h"
int lua_cocos2dx_csloader_CSLoader_createNodeFromJson(lua_State* tolua_S) int lua_cocos2dx_csloader_CSLoader_createNodeFromJson(lua_State* tolua_S)
{ {
int argc = 0; int argc = 0;

View File

@ -5,7 +5,6 @@
#include "LuaBasicConversions.h" #include "LuaBasicConversions.h"
int lua_cocos2dx_experimental_TMXLayer_getPositionAt(lua_State* tolua_S) int lua_cocos2dx_experimental_TMXLayer_getPositionAt(lua_State* tolua_S)
{ {
int argc = 0; int argc = 0;

View File

@ -5,7 +5,6 @@
#include "LuaBasicConversions.h" #include "LuaBasicConversions.h"
int lua_cocos2dx_experimental_video_VideoPlayer_getFileName(lua_State* tolua_S) int lua_cocos2dx_experimental_video_VideoPlayer_getFileName(lua_State* tolua_S)
{ {
int argc = 0; int argc = 0;

View File

@ -5,7 +5,6 @@
#include "LuaBasicConversions.h" #include "LuaBasicConversions.h"
int lua_cocos2dx_experimental_webview_WebView_canGoBack(lua_State* tolua_S) int lua_cocos2dx_experimental_webview_WebView_canGoBack(lua_State* tolua_S)
{ {
int argc = 0; int argc = 0;

View File

@ -4,7 +4,6 @@
#include "LuaBasicConversions.h" #include "LuaBasicConversions.h"
int lua_cocos2dx_extension_Control_setEnabled(lua_State* tolua_S) int lua_cocos2dx_extension_Control_setEnabled(lua_State* tolua_S)
{ {
int argc = 0; int argc = 0;

View File

@ -6,7 +6,6 @@
#include "LuaBasicConversions.h" #include "LuaBasicConversions.h"
int lua_cocos2dx_navmesh_NavMeshAgent_setMaxSpeed(lua_State* tolua_S) int lua_cocos2dx_navmesh_NavMeshAgent_setMaxSpeed(lua_State* tolua_S)
{ {
int argc = 0; int argc = 0;

View File

@ -5,7 +5,6 @@
#include "LuaBasicConversions.h" #include "LuaBasicConversions.h"
int lua_cocos2dx_physics3d_Physics3DShape_getbtShape(lua_State* tolua_S) int lua_cocos2dx_physics3d_Physics3DShape_getbtShape(lua_State* tolua_S)
{ {
int argc = 0; int argc = 0;

View File

@ -5,7 +5,6 @@
#include "LuaBasicConversions.h" #include "LuaBasicConversions.h"
int lua_cocos2dx_physics_PhysicsShape_getFriction(lua_State* tolua_S) int lua_cocos2dx_physics_PhysicsShape_getFriction(lua_State* tolua_S)
{ {
int argc = 0; int argc = 0;

View File

@ -4,7 +4,6 @@
#include "LuaBasicConversions.h" #include "LuaBasicConversions.h"
int lua_cocos2dx_spine_SkeletonRenderer_setTimeScale(lua_State* tolua_S) int lua_cocos2dx_spine_SkeletonRenderer_setTimeScale(lua_State* tolua_S)
{ {
int argc = 0; int argc = 0;

View File

@ -5,7 +5,6 @@
#include "LuaBasicConversions.h" #include "LuaBasicConversions.h"
int lua_cocos2dx_studio_ActionFrame_getAction(lua_State* tolua_S) int lua_cocos2dx_studio_ActionFrame_getAction(lua_State* tolua_S)
{ {
int argc = 0; int argc = 0;

View File

@ -4,7 +4,6 @@
#include "LuaBasicConversions.h" #include "LuaBasicConversions.h"
int lua_cocos2dx_ui_LayoutParameter_clone(lua_State* tolua_S) int lua_cocos2dx_ui_LayoutParameter_clone(lua_State* tolua_S)
{ {
int argc = 0; int argc = 0;