diff options
Diffstat (limited to 'plugins/MirLua/Modules/m_popup/src/main.cpp')
-rw-r--r-- | plugins/MirLua/Modules/m_popup/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/Modules/m_popup/src/main.cpp b/plugins/MirLua/Modules/m_popup/src/main.cpp index c99ea7c146..288f03c1ca 100644 --- a/plugins/MirLua/Modules/m_popup/src/main.cpp +++ b/plugins/MirLua/Modules/m_popup/src/main.cpp @@ -121,7 +121,7 @@ static luaL_Reg popupApi[] = { NULL, NULL }
};
-LUAMOD_API int luaopen_m_popup(lua_State *L)
+extern "C" LUAMOD_API int luaopen_m_popup(lua_State *L)
{
luaL_newlib(L, popupApi);
|