예제 #1
0
파일: CCLuaEngine.cpp 프로젝트: CryQ/coclua
void LuaEngine::extendLuaObject()
{    
    if ( NULL == _stack || NULL == _stack->getLuaState())
        return;
    
    lua_State* lua_S = _stack->getLuaState();
    extendWebsocket(lua_S);
    extendGLNode(lua_S);
    
    _stack->clean();
}
void LuaEngine::extendLuaObject()
{
    if ( NULL == _stack || NULL == _stack->getLuaState())
        return;

    lua_State* lua_S = _stack->getLuaState();
    extendNode(lua_S);
    extendMenuItem(lua_S);
    extendLayer(lua_S);
    extendControl(lua_S);
    extendWebsocket(lua_S);
    extendGLNode(lua_S);
    extendScrollView(lua_S);
    extendDrawNode(lua_S);

    _stack->clean();
}