diff options
Diffstat (limited to 'plugins/MirLua/Modules/m_toptoolbar/src/main.cpp')
-rw-r--r-- | plugins/MirLua/Modules/m_toptoolbar/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 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);
|