Searched refs:lua_state_ (Results 1 – 1 of 1) sorted by relevance
25 lua_state_ = luaL_newstate(); in LuaStateWrapper()31 lua_state_ = luaL_newstate(); in LuaStateWrapper()34 lua_State* GetLuaState() const { return lua_state_; } in GetLuaState()35 ~LuaStateWrapper() { lua_close(lua_state_); } in ~LuaStateWrapper()41 if (lua_state_) { in Init()42 luaL_openlibs(lua_state_); in Init()44 luaL_openlib(lua_state_, library->Name(), library->Lib(), 0); in Init()45 library->CustomSetup(lua_state_); in Init()47 luaL_dostring(lua_state_, lua_script.c_str()); in Init()51 lua_State* lua_state_; variable