summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-06-10 13:43:07 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-06-10 13:43:07 +0000
commit22ecdc28ebf053a6b335b802949f4f774af97d26 (patch)
tree980abced379dcc5a3c0021eac4ccdd20358387bc /plugins/MirLua/src/mlua.h
parent61eb66b5f8be46f1e5fe148aefb0364e3ceb9d59 (diff)
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
Diffstat (limited to 'plugins/MirLua/src/mlua.h')
-rw-r--r--plugins/MirLua/src/mlua.h6
1 files changed, 3 insertions, 3 deletions
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);
};