summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/stdafx.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-06-22 09:01:42 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-06-22 09:01:42 +0000
commit8be4814cca3be42be785da6a366f3da978a4ab72 (patch)
tree2f21fb9ec763c8e7ca6eb16e09aaf7191868a0b1 /plugins/MirLua/src/stdafx.h
parent655ac8423ddf001b8d3021e41e7297d7e3e20510 (diff)
MirLua: refactoring
git-svn-id: http://svn.miranda-ng.org/main/trunk@14321 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/stdafx.h')
-rw-r--r--plugins/MirLua/src/stdafx.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/MirLua/src/stdafx.h b/plugins/MirLua/src/stdafx.h
index 9c8b26fd17..ce3e7948c6 100644
--- a/plugins/MirLua/src/stdafx.h
+++ b/plugins/MirLua/src/stdafx.h
@@ -33,7 +33,8 @@ extern "C"
#include "resource.h"
#include "mlua.h"
-#include "mlua_loader.h"
+#include "mlua_module_loader.h"
+#include "mlua_script_loader.h"
#include "mlua_options.h"
#define MODULE "MirLua"
@@ -56,6 +57,9 @@ extern HANDLE g_hCustomFolderPath;
#define CUSTOM_SCRIPTS_PATHT MIRANDA_USERDATA "\\Scripts"
#endif
+#define MLUA_CORE "m"
+LUAMOD_API int (luaopen_m)(lua_State *L);
+
#define MLUA_DATABASE "m_database"
LUAMOD_API int (luaopen_m_database)(lua_State *L);