diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2016-06-23 13:01:49 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2016-06-23 13:01:49 +0000 |
commit | 50b6a5ca2c5652fdf4e5fab69d9918c0f633cfb5 (patch) | |
tree | 47d14db48369b7aac927ab77189ec842f4ef9373 /plugins/MirLua/src/mlua_script.h | |
parent | 1406bb2d649a561151ea9c44f2a3da54704d3ff7 (diff) |
MirLua: reworked m_core and CMLuaScript
git-svn-id: http://svn.miranda-ng.org/main/trunk@17023 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua_script.h')
-rw-r--r-- | plugins/MirLua/src/mlua_script.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/MirLua/src/mlua_script.h b/plugins/MirLua/src/mlua_script.h index c466e16c20..8cf7fc1e29 100644 --- a/plugins/MirLua/src/mlua_script.h +++ b/plugins/MirLua/src/mlua_script.h @@ -4,8 +4,6 @@ class CMLuaScript
{
public:
- lua_State *L;
-
enum Status
{
None,
@@ -23,7 +21,7 @@ private: public:
- CMLuaScript(lua_State *L, const TCHAR *path);
+ CMLuaScript(const TCHAR *path);
~CMLuaScript();
static CMLuaScript* GetScriptFromEnviroment(lua_State *L);
@@ -39,8 +37,8 @@ public: const Status GetStatus() const;
- bool Load();
- void Unload();
+ bool Load(lua_State *L);
+ void Unload(lua_State *L);
};
#endif //_LUA_SCRIPT_H_
|