mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-24 22:11:04 +00:00
define LuaManager::init
This commit is contained in:
parent
450cc78c9a
commit
c5de584762
@ -6,7 +6,7 @@ using namespace LuaManager;
|
||||
|
||||
static lua_State *globalState = nullptr;
|
||||
|
||||
void init() {
|
||||
void LuaManager::init() {
|
||||
lua_State *L = luaL_newstate();
|
||||
luaL_openlibs(L);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user