We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aecc7b4 commit f4eaa2fCopy full SHA for f4eaa2f
1 file changed
plugins/developing/lua-modules.md
@@ -32,7 +32,7 @@ This adds the LuaJIT include path and links `lua51.lib`.
32
PreSetup("MQ2MyPlugin");
33
PLUGIN_VERSION(1.0);
34
35
-extern "C" __declspec(dllexport) sol::object CreateLuaModule(sol::this_state s)
+PLUGIN_API sol::object CreateLuaModule(sol::this_state s)
36
{
37
sol::state_view sv{ s };
38
sol::table module = sv.create_table();
0 commit comments