summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-06-09 06:44:57 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-06-09 06:44:57 +0000
commitd93bdfc096f018d3b9c80dad756e5b573e886f68 (patch)
treee5561831fa8f318e61d2ffc62d7f718e82674451 /plugins/MirLua/src/mlua.h
parent00c46f24d60c9de29293bef608f34114392822d2 (diff)
MirLua:
- added loading of internal modules - added loading of lua scripts - added folders plugin support git-svn-id: http://svn.miranda-ng.org/main/trunk@14069 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua.h')
-rw-r--r--plugins/MirLua/src/mlua.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/MirLua/src/mlua.h b/plugins/MirLua/src/mlua.h
index bdeef96815..7a4ffd036b 100644
--- a/plugins/MirLua/src/mlua.h
+++ b/plugins/MirLua/src/mlua.h
@@ -4,13 +4,15 @@
class CMLua
{
private:
- lua_State *lua;
+ lua_State *L;
+
+ void Preload(const char *name, lua_CFunction func);
public:
CMLua();
~CMLua();
- static luaL_Reg CoreFunctions[10];
+ static luaL_Reg coreFunctions[10];
void Load(const char *name);
};