[AUTO]: updating luabinding & jsbinding automatically

This commit is contained in:
CocosRobot 2015-05-18 07:04:27 +00:00
parent f30cb9ac19
commit 3e08ec4c11
3 changed files with 3157 additions and 1 deletions

View File

@ -5585,6 +5585,359 @@ getInstance : function (
};
/**
* @class Properties
*/
cc.Properties = {
/**
* @method getVariable
* @param {char} arg0
* @param {char} arg1
* @return {char}
*/
getVariable : function (
char,
char
)
{
return 0;
},
/**
* @method getString
* @return {char}
*/
getString : function (
)
{
return 0;
},
/**
* @method getLong
* @return {long}
*/
getLong : function (
)
{
return 0;
},
/**
* @method getNamespace
* @param {char} char
* @param {bool} bool
* @param {bool} bool
* @return {char|cc.Properties}
*/
getNamespace : function(
char,
bool,
bool
)
{
return cc.Properties;
},
/**
* @method getPath
* @param {char} arg0
* @param {String} arg1
* @return {bool}
*/
getPath : function (
char,
str
)
{
return false;
},
/**
* @method getMat4
* @param {char} arg0
* @param {mat4_object} arg1
* @return {bool}
*/
getMat4 : function (
char,
mat4
)
{
return false;
},
/**
* @method exists
* @param {char} arg0
* @return {bool}
*/
exists : function (
char
)
{
return false;
},
/**
* @method setString
* @param {char} arg0
* @param {char} arg1
* @return {bool}
*/
setString : function (
char,
char
)
{
return false;
},
/**
* @method getId
* @return {char}
*/
getId : function (
)
{
return 0;
},
/**
* @method rewind
*/
rewind : function (
)
{
},
/**
* @method setVariable
* @param {char} arg0
* @param {char} arg1
*/
setVariable : function (
char,
char
)
{
},
/**
* @method getBool
* @return {bool}
*/
getBool : function (
)
{
return false;
},
/**
* @method getColor
* @param {char|char} char
* @param {vec4_object|vec3_object} vec4
* @return {bool|bool}
*/
getColor : function(
char,
vec3
)
{
return false;
},
/**
* @method getType
* @return {cc.Properties::Type}
*/
getType : function (
)
{
return 0;
},
/**
* @method getNextNamespace
* @return {cc.Properties}
*/
getNextNamespace : function (
)
{
return cc.Properties;
},
/**
* @method getInt
* @return {int}
*/
getInt : function (
)
{
return 0;
},
/**
* @method getVec3
* @param {char} arg0
* @param {vec3_object} arg1
* @return {bool}
*/
getVec3 : function (
char,
vec3
)
{
return false;
},
/**
* @method getVec2
* @param {char} arg0
* @param {vec2_object} arg1
* @return {bool}
*/
getVec2 : function (
char,
vec2
)
{
return false;
},
/**
* @method getVec4
* @param {char} arg0
* @param {vec4_object} arg1
* @return {bool}
*/
getVec4 : function (
char,
vec4
)
{
return false;
},
/**
* @method getNextProperty
* @return {char}
*/
getNextProperty : function (
)
{
return 0;
},
/**
* @method getFloat
* @return {float}
*/
getFloat : function (
)
{
return 0;
},
/**
* @method getQuaternionFromAxisAngle
* @param {char} arg0
* @param {cc.Quaternion} arg1
* @return {bool}
*/
getQuaternionFromAxisAngle : function (
char,
quaternion
)
{
return false;
},
/**
* @method parseColor
* @param {char|char} char
* @param {vec4_object|vec3_object} vec4
* @return {bool|bool}
*/
parseColor : function(
char,
vec3
)
{
return false;
},
/**
* @method parseAxisAngle
* @param {char} arg0
* @param {cc.Quaternion} arg1
* @return {bool}
*/
parseAxisAngle : function (
char,
quaternion
)
{
return false;
},
/**
* @method parseVec2
* @param {char} arg0
* @param {vec2_object} arg1
* @return {bool}
*/
parseVec2 : function (
char,
vec2
)
{
return false;
},
/**
* @method parseVec3
* @param {char} arg0
* @param {vec3_object} arg1
* @return {bool}
*/
parseVec3 : function (
char,
vec3
)
{
return false;
},
/**
* @method parseVec4
* @param {char} arg0
* @param {vec4_object} arg1
* @return {bool}
*/
parseVec4 : function (
char,
vec4
)
{
return false;
},
/**
* @method createWithoutAutorelease
* @param {String} arg0
* @return {cc.Properties}
*/
createWithoutAutorelease : function (
str
)
{
return cc.Properties;
},
};
/**
* @class FileUtils
*/
@ -19419,6 +19772,446 @@ GLProgramCache : function (
};
/**
* @class RenderState
*/
cc.RenderState = {
/**
* @method setTexture
* @param {cc.Texture2D} arg0
*/
setTexture : function (
texture2d
)
{
},
/**
* @method getTopmost
* @param {cc.RenderState} arg0
* @return {cc.RenderState}
*/
getTopmost : function (
renderstate
)
{
return cc.RenderState;
},
/**
* @method getTexture
* @return {cc.Texture2D}
*/
getTexture : function (
)
{
return cc.Texture2D;
},
/**
* @method bind
* @param {cc.Pass} arg0
*/
bind : function (
pass
)
{
},
/**
* @method getName
* @return {String}
*/
getName : function (
)
{
return ;
},
/**
* @method getStateBlock
* @return {cc.RenderState::StateBlock}
*/
getStateBlock : function (
)
{
return cc.RenderState::StateBlock;
},
/**
* @method getTextures
* @return {Array}
*/
getTextures : function (
)
{
return new Array();
},
/**
* @method initialize
*/
initialize : function (
)
{
},
/**
* @method finalize
*/
finalize : function (
)
{
},
};
/**
* @class Pass
*/
cc.Pass = {
/**
* @method unbind
*/
unbind : function (
)
{
},
/**
* @method bind
* @param {mat4_object|mat4_object} mat4
* @param {bool} bool
*/
bind : function(
mat4,
bool
)
{
},
/**
* @method clone
* @return {cc.Pass}
*/
clone : function (
)
{
return cc.Pass;
},
/**
* @method getGLProgramState
* @return {cc.GLProgramState}
*/
getGLProgramState : function (
)
{
return cc.GLProgramState;
},
/**
* @method getVertexAttributeBinding
* @return {cc.VertexAttribBinding}
*/
getVertexAttributeBinding : function (
)
{
return cc.VertexAttribBinding;
},
/**
* @method getHash
* @return {unsigned int}
*/
getHash : function (
)
{
return 0;
},
/**
* @method setVertexAttribBinding
* @param {cc.VertexAttribBinding} arg0
*/
setVertexAttribBinding : function (
vertexattribbinding
)
{
},
/**
* @method create
* @param {cc.Technique} arg0
* @return {cc.Pass}
*/
create : function (
technique
)
{
return cc.Pass;
},
/**
* @method createWithGLProgramState
* @param {cc.Technique} arg0
* @param {cc.GLProgramState} arg1
* @return {cc.Pass}
*/
createWithGLProgramState : function (
technique,
glprogramstate
)
{
return cc.Pass;
},
};
/**
* @class Technique
*/
cc.Technique = {
/**
* @method getPassCount
* @return {long}
*/
getPassCount : function (
)
{
return 0;
},
/**
* @method clone
* @return {cc.Technique}
*/
clone : function (
)
{
return cc.Technique;
},
/**
* @method addPass
* @param {cc.Pass} arg0
*/
addPass : function (
pass
)
{
},
/**
* @method getPasses
* @return {Array}
*/
getPasses : function (
)
{
return new Array();
},
/**
* @method getName
* @return {String}
*/
getName : function (
)
{
return ;
},
/**
* @method getPassByIndex
* @param {long} arg0
* @return {cc.Pass}
*/
getPassByIndex : function (
long
)
{
return cc.Pass;
},
/**
* @method create
* @param {cc.Material} arg0
* @return {cc.Technique}
*/
create : function (
material
)
{
return cc.Technique;
},
/**
* @method createWithGLProgramState
* @param {cc.Material} arg0
* @param {cc.GLProgramState} arg1
* @return {cc.Technique}
*/
createWithGLProgramState : function (
material,
glprogramstate
)
{
return cc.Technique;
},
};
/**
* @class Material
*/
cc.Material = {
/**
* @method clone
* @return {cc.Material}
*/
clone : function (
)
{
return cc.Material;
},
/**
* @method getTechniqueCount
* @return {long}
*/
getTechniqueCount : function (
)
{
return 0;
},
/**
* @method setName
* @param {String} arg0
*/
setName : function (
str
)
{
},
/**
* @method getTechniqueByIndex
* @param {long} arg0
* @return {cc.Technique}
*/
getTechniqueByIndex : function (
long
)
{
return cc.Technique;
},
/**
* @method getName
* @return {String}
*/
getName : function (
)
{
return ;
},
/**
* @method getTechniques
* @return {Array}
*/
getTechniques : function (
)
{
return new Array();
},
/**
* @method setTechnique
* @param {String} arg0
*/
setTechnique : function (
str
)
{
},
/**
* @method getTechniqueByName
* @param {String} arg0
* @return {cc.Technique}
*/
getTechniqueByName : function (
str
)
{
return cc.Technique;
},
/**
* @method addTechnique
* @param {cc.Technique} arg0
*/
addTechnique : function (
technique
)
{
},
/**
* @method getTechnique
* @return {cc.Technique}
*/
getTechnique : function (
)
{
return cc.Technique;
},
/**
* @method createWithFilename
* @param {String} arg0
* @return {cc.Material}
*/
createWithFilename : function (
str
)
{
return cc.Material;
},
/**
* @method createWithGLStateProgram
* @param {cc.GLProgramState} arg0
* @return {cc.Material}
*/
createWithGLStateProgram : function (
glprogramstate
)
{
return cc.Material;
},
/**
* @method createWithProperties
* @param {cc.Properties} arg0
* @return {cc.Material}
*/
createWithProperties : function (
properties
)
{
return cc.Material;
},
};
/**
* @class TextureCache
*/

File diff suppressed because it is too large Load Diff

View File

@ -871,6 +871,42 @@ bool js_cocos2dx_Configuration_gatherGPUInfo(JSContext *cx, uint32_t argc, jsval
bool js_cocos2dx_Configuration_destroyInstance(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Configuration_getInstance(JSContext *cx, uint32_t argc, jsval *vp);
extern JSClass *jsb_cocos2d_Properties_class;
extern JSObject *jsb_cocos2d_Properties_prototype;
bool js_cocos2dx_Properties_constructor(JSContext *cx, uint32_t argc, jsval *vp);
void js_cocos2dx_Properties_finalize(JSContext *cx, JSObject *obj);
void js_register_cocos2dx_Properties(JSContext *cx, JS::HandleObject global);
void register_all_cocos2dx(JSContext* cx, JS::HandleObject obj);
bool js_cocos2dx_Properties_getVariable(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_getString(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_getLong(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_getNamespace(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_getPath(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_getMat4(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_exists(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_setString(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_getId(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_rewind(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_setVariable(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_getBool(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_getColor(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_getType(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_getNextNamespace(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_getInt(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_getVec3(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_getVec2(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_getVec4(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_getNextProperty(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_getFloat(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_getQuaternionFromAxisAngle(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_parseColor(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_parseAxisAngle(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_parseVec2(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_parseVec3(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_parseVec4(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Properties_createWithoutAutorelease(JSContext *cx, uint32_t argc, jsval *vp);
extern JSClass *jsb_cocos2d_FileUtils_class;
extern JSObject *jsb_cocos2d_FileUtils_prototype;
@ -3511,6 +3547,77 @@ bool js_cocos2dx_GLProgramCache_destroyInstance(JSContext *cx, uint32_t argc, js
bool js_cocos2dx_GLProgramCache_getInstance(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_GLProgramCache_GLProgramCache(JSContext *cx, uint32_t argc, jsval *vp);
extern JSClass *jsb_cocos2d_RenderState_class;
extern JSObject *jsb_cocos2d_RenderState_prototype;
bool js_cocos2dx_RenderState_constructor(JSContext *cx, uint32_t argc, jsval *vp);
void js_cocos2dx_RenderState_finalize(JSContext *cx, JSObject *obj);
void js_register_cocos2dx_RenderState(JSContext *cx, JS::HandleObject global);
void register_all_cocos2dx(JSContext* cx, JS::HandleObject obj);
bool js_cocos2dx_RenderState_setTexture(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_RenderState_getTopmost(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_RenderState_getTexture(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_RenderState_bind(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_RenderState_getName(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_RenderState_getStateBlock(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_RenderState_getTextures(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_RenderState_initialize(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_RenderState_finalize(JSContext *cx, uint32_t argc, jsval *vp);
extern JSClass *jsb_cocos2d_Pass_class;
extern JSObject *jsb_cocos2d_Pass_prototype;
bool js_cocos2dx_Pass_constructor(JSContext *cx, uint32_t argc, jsval *vp);
void js_cocos2dx_Pass_finalize(JSContext *cx, JSObject *obj);
void js_register_cocos2dx_Pass(JSContext *cx, JS::HandleObject global);
void register_all_cocos2dx(JSContext* cx, JS::HandleObject obj);
bool js_cocos2dx_Pass_unbind(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Pass_bind(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Pass_clone(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Pass_getGLProgramState(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Pass_getVertexAttributeBinding(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Pass_getHash(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Pass_setVertexAttribBinding(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Pass_create(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Pass_createWithGLProgramState(JSContext *cx, uint32_t argc, jsval *vp);
extern JSClass *jsb_cocos2d_Technique_class;
extern JSObject *jsb_cocos2d_Technique_prototype;
bool js_cocos2dx_Technique_constructor(JSContext *cx, uint32_t argc, jsval *vp);
void js_cocos2dx_Technique_finalize(JSContext *cx, JSObject *obj);
void js_register_cocos2dx_Technique(JSContext *cx, JS::HandleObject global);
void register_all_cocos2dx(JSContext* cx, JS::HandleObject obj);
bool js_cocos2dx_Technique_getPassCount(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Technique_clone(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Technique_addPass(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Technique_getPasses(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Technique_getName(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Technique_getPassByIndex(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Technique_create(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Technique_createWithGLProgramState(JSContext *cx, uint32_t argc, jsval *vp);
extern JSClass *jsb_cocos2d_Material_class;
extern JSObject *jsb_cocos2d_Material_prototype;
bool js_cocos2dx_Material_constructor(JSContext *cx, uint32_t argc, jsval *vp);
void js_cocos2dx_Material_finalize(JSContext *cx, JSObject *obj);
void js_register_cocos2dx_Material(JSContext *cx, JS::HandleObject global);
void register_all_cocos2dx(JSContext* cx, JS::HandleObject obj);
bool js_cocos2dx_Material_clone(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Material_getTechniqueCount(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Material_setName(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Material_getTechniqueByIndex(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Material_getName(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Material_getTechniques(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Material_setTechnique(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Material_getTechniqueByName(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Material_addTechnique(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Material_getTechnique(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Material_createWithFilename(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Material_createWithGLStateProgram(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_Material_createWithProperties(JSContext *cx, uint32_t argc, jsval *vp);
extern JSClass *jsb_cocos2d_TextureCache_class;
extern JSObject *jsb_cocos2d_TextureCache_prototype;