replace "myplugin" with the plugin name
| 26 | extern "C" { |
| 27 | // replace "myplugin" with the plugin name |
| 28 | DLLEXPORT int luaopen_myplugin(lua_State *L) { |
| 29 | luaL_newlib(L, M); |
| 30 | return 1; |
| 31 | } |
| 32 | |
| 33 | DLLEXPORT PluginInfo * plugin_init(PluginFunctions * func, const path_t& path) { |
| 34 | // configure any other information, or save the functions here... |
nothing calls this directly
no outgoing calls
no test coverage detected