mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-02 02:05:25 +00:00
lua gate new ctor
This commit is contained in:
@@ -12,6 +12,11 @@ namespace LuaG
|
||||
luaL_openlibs(_state);
|
||||
}
|
||||
|
||||
State::State(lua_State *L)
|
||||
: _state(L)
|
||||
{
|
||||
}
|
||||
|
||||
State::~State()
|
||||
{
|
||||
lua_close(_state);
|
||||
|
||||
@@ -16,6 +16,10 @@ namespace LuaG
|
||||
//! @brief ctor
|
||||
State();
|
||||
|
||||
//! @brief ctor
|
||||
State(lua_State *L);
|
||||
|
||||
|
||||
//! @brief dtor
|
||||
~State();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user