summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/stdafx.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-01-02 13:55:52 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-01-02 13:55:52 +0000
commit556ec5e59c94222224eb8a13c05d737b765b9259 (patch)
tree4669457199f30201918c1f975ccf635b1c9b85ba /plugins/MirLua/src/stdafx.h
parent0a79763db57ac830746fbb70f227ca2a0b758e49 (diff)
MirLua: linked with liblua
git-svn-id: http://svn.miranda-ng.org/main/trunk@15989 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/stdafx.h')
-rw-r--r--plugins/MirLua/src/stdafx.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/MirLua/src/stdafx.h b/plugins/MirLua/src/stdafx.h
index 6cd1dde489..d781edee8b 100644
--- a/plugins/MirLua/src/stdafx.h
+++ b/plugins/MirLua/src/stdafx.h
@@ -34,12 +34,7 @@
#include <m_toptoolbar.h>
#include <m_variables.h>
-extern "C"
-{
- #include "lua\lua.h"
- #include "lua\lualib.h"
- #include "lua\lauxlib.h"
-}
+#include <lua.hpp>
#include "version.h"
#include "resource.h"
@@ -129,7 +124,7 @@ void InitIcons();
HICON GetIcon(int iconId);
HANDLE GetIconHandle(int iconId);
-void ShowNotification(const char *caption, const char *message, int flags, MCONTACT hContact);
+void ShowNotification(const char *caption, const char *message, int flags = 0, MCONTACT hContact = NULL);
void ObsoleteMethod(lua_State *L, const char *message);