summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua.h
diff options
context:
space:
mode:
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_