summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-06-07 20:55:38 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-06-07 20:55:38 +0000
commita674fbe45df718f194948a7fa399c58fd9672519 (patch)
treefe59698871070fed40af646e5e83c22d47e69b7c /plugins/MirLua/src/mlua.h
parentba275795eba1936a3c395527cc55936a4dc02f9d (diff)
MirLua: initial commit
git-svn-id: http://svn.miranda-ng.org/main/trunk@14061 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua.h')
-rw-r--r--plugins/MirLua/src/mlua.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/MirLua/src/mlua.h b/plugins/MirLua/src/mlua.h
new file mode 100644
index 0000000000..bdeef96815
--- /dev/null
+++ b/plugins/MirLua/src/mlua.h
@@ -0,0 +1,18 @@
+#ifndef _LUA_CORE_H_
+#define _LUA_CORE_H_
+
+class CMLua
+{
+private:
+ lua_State *lua;
+
+public:
+ CMLua();
+ ~CMLua();
+
+ static luaL_Reg CoreFunctions[10];
+
+ void Load(const char *name);
+};
+
+#endif //_LUA_CORE_H_