diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-07-06 12:38:11 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-07-06 12:38:11 +0000 |
commit | 044f684c197b7dc71556b2c26415cdc694ba51a3 (patch) | |
tree | ea540f29fbde157f45a15fe1003738a818f22919 /plugins/MirLua/src/stdafx.h | |
parent | e4d6b6be1f71fd5c8b02ef10d4c130fb5673b76e (diff) |
MirLua:
- fixed correct hooks/services cleanup on reload
- added functions OnScriptLoaded and OnScriptUnload to m
git-svn-id: http://svn.miranda-ng.org/main/trunk@14498 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/stdafx.h')
-rw-r--r-- | plugins/MirLua/src/stdafx.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/MirLua/src/stdafx.h b/plugins/MirLua/src/stdafx.h index 2a292f03c6..2fbbc83429 100644 --- a/plugins/MirLua/src/stdafx.h +++ b/plugins/MirLua/src/stdafx.h @@ -60,7 +60,8 @@ extern HANDLE hNetlib; #define CUSTOM_SCRIPTS_PATHT MIRANDA_USERDATA "\\Scripts"
#endif
-#include "m_core.h"
+#define MLUA_CORE "m"
+LUAMOD_API int (luaopen_m)(lua_State *L);
#define MLUA_CLIST "m_clist"
LUAMOD_API int (luaopen_m_clist)(lua_State *L);
|