From 22ecdc28ebf053a6b335b802949f4f774af97d26 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Wed, 10 Jun 2015 13:43:07 +0000 Subject: MirLua: - removed unwanted paths to script searching - fixed crash on event hook/service call - code cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@14103 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/mlua.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/MirLua/src/mlua.h') diff --git a/plugins/MirLua/src/mlua.h b/plugins/MirLua/src/mlua.h index f4378c1c57..54f6c4d987 100644 --- a/plugins/MirLua/src/mlua.h +++ b/plugins/MirLua/src/mlua.h @@ -5,9 +5,7 @@ class CMLua { private: lua_State *L; - HANDLE hConsole; - - int luaopen_m(lua_State *L); + static luaL_Reg coreLib[10]; void Preload(const char *name, lua_CFunction func); @@ -15,6 +13,8 @@ public: CMLua(); ~CMLua(); + void AddPath(const char *path); + void Load(const char *name); }; -- cgit v1.2.3