diff options
author | aunsane <aunsane@gmail.com> | 2018-07-13 23:57:25 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-07-15 15:03:47 +0300 |
commit | ce719a1725988bded5566a5d7f596b1ba42cfa91 (patch) | |
tree | ee5a96fa51444ed509edb111a0ed49eabda834f2 /plugins/MirLua/src/script_loader.h | |
parent | 40198c29b0f5e7f14f73a3e0a62541ac918612a8 (diff) |
MirLua: add Evaluate option page to test scripts
Diffstat (limited to 'plugins/MirLua/src/script_loader.h')
-rw-r--r-- | plugins/MirLua/src/script_loader.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/MirLua/src/script_loader.h b/plugins/MirLua/src/script_loader.h index 1b7b87eab5..d57bf83fd7 100644 --- a/plugins/MirLua/src/script_loader.h +++ b/plugins/MirLua/src/script_loader.h @@ -5,7 +5,9 @@ class CMLuaScriptLoader private: lua_State *L; - CMLuaScriptLoader(lua_State *L); + OBJLIST<CMLuaScript> &m_scripts; + + CMLuaScriptLoader(lua_State *L, OBJLIST<CMLuaScript> &scripts); void SetPaths(); @@ -13,5 +15,5 @@ private: void LoadScripts(); public: - static void Load(lua_State *L); + static void Load(lua_State *L, OBJLIST<CMLuaScript> &scripts); }; |