diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2016-04-04 09:44:12 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2016-04-04 09:44:12 +0000 |
commit | 32089106fa10eba08e946693cb2939a4ab293f77 (patch) | |
tree | 102d714e16eb4d5c8da2a6a34d497ad10724c35f /plugins/MirLua/src/mlua_module_loader.cpp | |
parent | e1110157f8c2989a58aa12ddeef91669525d188f (diff) |
MirLua:
- no need to copy pointer data in MT
- project cleanup
- version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@16584 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua_module_loader.cpp')
-rw-r--r-- | plugins/MirLua/src/mlua_module_loader.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/MirLua/src/mlua_module_loader.cpp b/plugins/MirLua/src/mlua_module_loader.cpp index fb54e33573..e0777ac136 100644 --- a/plugins/MirLua/src/mlua_module_loader.cpp +++ b/plugins/MirLua/src/mlua_module_loader.cpp @@ -1,10 +1,10 @@ #include "stdafx.h"
-CLuaModuleLoader::CLuaModuleLoader(lua_State *L) : L(L)
+CMLuaModuleLoader::CMLuaModuleLoader(lua_State *L) : L(L)
{
}
-void CLuaModuleLoader::Load(const char *name, lua_CFunction loader)
+void CMLuaModuleLoader::Load(const char *name, lua_CFunction loader)
{
luaL_getsubtable(L, LUA_REGISTRYINDEX, "_LOADED");
lua_pushcfunction(L, loader);
@@ -14,7 +14,7 @@ void CLuaModuleLoader::Load(const char *name, lua_CFunction loader) lua_pop(L, 1);
}
-void CLuaModuleLoader::Preload(const char *name, lua_CFunction loader)
+void CMLuaModuleLoader::Preload(const char *name, lua_CFunction loader)
{
luaL_getsubtable(L, LUA_REGISTRYINDEX, "_PRELOAD");
lua_pushcfunction(L, loader);
@@ -22,7 +22,7 @@ void CLuaModuleLoader::Preload(const char *name, lua_CFunction loader) lua_pop(L, 1);
}
-void CLuaModuleLoader::LoadModules()
+void CMLuaModuleLoader::LoadModules()
{
// load m_core module
Load(MLUA_CORE, luaopen_m_core);
@@ -39,8 +39,8 @@ void CLuaModuleLoader::LoadModules() Preload(MLUA_SOUNDS, luaopen_m_sounds);
}
-void CLuaModuleLoader::Load(lua_State *L)
+void CMLuaModuleLoader::Load(lua_State *L)
{
- CLuaModuleLoader loader(L);
+ CMLuaModuleLoader loader(L);
loader.LoadModules();
}
\ No newline at end of file |