From 32089106fa10eba08e946693cb2939a4ab293f77 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Mon, 4 Apr 2016 09:44:12 +0000 Subject: 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 --- plugins/MirLua/Modules/m_toptoolbar/src/main.cpp | 2 +- plugins/MirLua/Modules/m_toptoolbar/src/stdafx.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'plugins/MirLua/Modules') 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 #include -#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 -- cgit v1.2.3