summaryrefslogtreecommitdiff
path: root/plugins/MirLua/Modules
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-04-04 09:44:12 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-04-04 09:44:12 +0000
commit32089106fa10eba08e946693cb2939a4ab293f77 (patch)
tree102d714e16eb4d5c8da2a6a34d497ad10724c35f /plugins/MirLua/Modules
parente1110157f8c2989a58aa12ddeef91669525d188f (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/Modules')
-rw-r--r--plugins/MirLua/Modules/m_toptoolbar/src/main.cpp2
-rw-r--r--plugins/MirLua/Modules/m_toptoolbar/src/stdafx.h5
2 files changed, 1 insertions, 6 deletions
diff --git a/plugins/MirLua/Modules/m_toptoolbar/src/main.cpp b/plugins/MirLua/Modules/m_toptoolbar/src/main.cpp
index 6e488ca8c7..477cf7565b 100644
--- a/plugins/MirLua/Modules/m_toptoolbar/src/main.cpp
+++ b/plugins/MirLua/Modules/m_toptoolbar/src/main.cpp
@@ -95,7 +95,7 @@ static luaL_Reg toptoolbarApi[] =
{ NULL, NULL }
};
-LUAMOD_API int luaopen_m_toptoolbar(lua_State *L)
+extern "C" LUAMOD_API int luaopen_m_toptoolbar(lua_State *L)
{
luaL_newlib(L, toptoolbarApi);
diff --git a/plugins/MirLua/Modules/m_toptoolbar/src/stdafx.h b/plugins/MirLua/Modules/m_toptoolbar/src/stdafx.h
index b45173f207..741eb49bd9 100644
--- a/plugins/MirLua/Modules/m_toptoolbar/src/stdafx.h
+++ b/plugins/MirLua/Modules/m_toptoolbar/src/stdafx.h
@@ -8,9 +8,4 @@
#include <m_utils.h>
#include <m_toptoolbar.h>
-#define MLUA_TOPTOOLBAR "m_toptoolbar"
-LUAMOD_API int (luaopen_m_toptoolbar)(lua_State *L);
-
-void KillModuleTTBButton();
-
#endif //_COMMON_H_ \ No newline at end of file