summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/variables_loader.h
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-07-15 22:36:07 +0300
committeraunsane <aunsane@gmail.com>2018-07-15 22:36:39 +0300
commit0c37a8fd3a20e7087a31a68d0cca47e92c78a1e0 (patch)
tree19cdf0fa1d9f44bb76dd69bdc47be600e50fbf93 /plugins/MirLua/src/variables_loader.h
parentdba456c0069e4fd31a1532a901cb5ec60c978ca5 (diff)
MirLua: initial support of variables eval
- added math functions
Diffstat (limited to 'plugins/MirLua/src/variables_loader.h')
-rw-r--r--plugins/MirLua/src/variables_loader.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/MirLua/src/variables_loader.h b/plugins/MirLua/src/variables_loader.h
new file mode 100644
index 0000000000..a9c7432480
--- /dev/null
+++ b/plugins/MirLua/src/variables_loader.h
@@ -0,0 +1,14 @@
+#pragma once
+
+class CMLuaVariablesLoader
+{
+private:
+ lua_State *L;
+
+ CMLuaVariablesLoader(lua_State *L);
+
+ void LoadVariables();
+
+public:
+ static void Load(lua_State *L);
+};