mirror of https://github.com/axmolengine/axmol.git
fix lua bindings error
This commit is contained in:
parent
f92301a872
commit
8359ddd4d4
|
@ -163,7 +163,7 @@ bool LuaStack::init(void)
|
|||
register_all_cocos2dx_extension_manual(_state);
|
||||
register_all_cocos2dx_manual_deprecated(_state);
|
||||
register_all_cocos2dx_coco_studio_manual(_state);
|
||||
register_all_cocos2dx_gui_manual(_state);
|
||||
register_all_cocos2dx_ui_manual(_state);
|
||||
register_all_cocos2dx_spine(_state);
|
||||
register_all_cocos2dx_spine_manual(_state);
|
||||
register_glnode_manual(_state);
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include "CocosGUI.h"
|
||||
#include "CCLuaEngine.h"
|
||||
|
||||
using namespace gui;
|
||||
using namespace ui;
|
||||
|
||||
class LuaCocoStudioEventListener:public Ref
|
||||
{
|
||||
|
@ -630,7 +630,7 @@ static void extendLayoutParameter(lua_State* L)
|
|||
lua_pop(L, 1);
|
||||
}
|
||||
|
||||
int register_all_cocos2dx_gui_manual(lua_State* L)
|
||||
int register_all_cocos2dx_ui_manual(lua_State* L)
|
||||
{
|
||||
if (nullptr == L)
|
||||
return 0;
|
||||
|
|
|
@ -34,7 +34,7 @@ extern "C" {
|
|||
|
||||
#include "CCRef.h"
|
||||
|
||||
TOLUA_API int register_all_cocos2dx_gui_manual(lua_State* L);
|
||||
TOLUA_API int register_all_cocos2dx_ui_manual(lua_State* L);
|
||||
|
||||
struct LuaStudioEventListenerData
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue