summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_script.h
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2016-06-24 17:43:57 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2016-06-24 17:43:57 +0000
commitee37779cc2bdb12315b962af3df2501fdcc68089 (patch)
treeacffa7bb1c61394af0deadc7382a3780af0263ad /plugins/MirLua/src/mlua_script.h
parent1664b4b774a97119c71a334916778d8ee2883fba (diff)
temporary revert
git-svn-id: http://svn.miranda-ng.org/main/trunk@17032 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua_script.h')
-rw-r--r--plugins/MirLua/src/mlua_script.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/MirLua/src/mlua_script.h b/plugins/MirLua/src/mlua_script.h
index 8cf7fc1e29..c466e16c20 100644
--- a/plugins/MirLua/src/mlua_script.h
+++ b/plugins/MirLua/src/mlua_script.h
@@ -4,6 +4,8 @@
class CMLuaScript
{
public:
+ lua_State *L;
+
enum Status
{
None,
@@ -21,7 +23,7 @@ private:
public:
- CMLuaScript(const TCHAR *path);
+ CMLuaScript(lua_State *L, const TCHAR *path);
~CMLuaScript();
static CMLuaScript* GetScriptFromEnviroment(lua_State *L);
@@ -37,8 +39,8 @@ public:
const Status GetStatus() const;
- bool Load(lua_State *L);
- void Unload(lua_State *L);
+ bool Load();
+ void Unload();
};
#endif //_LUA_SCRIPT_H_