cocos2d-x  3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lua_cocos2dx_cocosbuilder_manual.h File Reference
#include "tolua++.h"

Functions

TOLUA_API int  (lua_State *tolua_S)
TOLUA_API int  (lua_State *tolua_S)
 Call this function can import the lua bindings for the cocosbuilder module. More...
 

Function Documentation

TOLUA_API int
register_all_cocos2dx_cocosbuilder_manual
( lua_State *  tolua_S)
var
register_all_cocos2dx_cocosbuilder_manual
( var  tolua_S)
local
register_all_cocos2dx_cocosbuilder_manual
( local  tolua_S)
TOLUA_API int
register_cocosbuilder_module
( lua_State *  tolua_S)

Call this function can import the lua bindings for the cocosbuilder module.

After registering, we could call the related cocosbuilder code conveniently in the lua.eg,.cc.CCBProxy:create(). If you don't want to use the cocosbuilder module in the lua, you only don't call this registering function. If you don't register the cocosbuilder module, the package size would become smaller . The current mechanism,this registering function is called in the lua_module_register.h

var register_cocosbuilder_module ( var  tolua_S)

Call this function can import the lua bindings for the cocosbuilder module.

After registering, we could call the related cocosbuilder code conveniently in the lua.eg,.cc.CCBProxy:create(). If you don't want to use the cocosbuilder module in the lua, you only don't call this registering function. If you don't register the cocosbuilder module, the package size would become smaller . The current mechanism,this registering function is called in the lua_module_register.h

local register_cocosbuilder_module ( local  tolua_S)

Call this function can import the lua bindings for the cocosbuilder module.

After registering, we could call the related cocosbuilder code conveniently in the lua.eg,.cc.CCBProxy:create(). If you don't want to use the cocosbuilder module in the lua, you only don't call this registering function. If you don't register the cocosbuilder module, the package size would become smaller . The current mechanism,this registering function is called in the lua_module_register.h