fix lua bindings error

This commit is contained in:
andyque 2014-02-25 10:06:04 +08:00
parent f92301a872
commit 8359ddd4d4
3 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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;

View File

@ -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
{