diff options
Diffstat (limited to 'apps/plugins/lua')
-rw-r--r-- | apps/plugins/lua/rocklua.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/lua/rocklua.c b/apps/plugins/lua/rocklua.c index 00bfd8e43e..b92c274fb0 100644 --- a/apps/plugins/lua/rocklua.c +++ b/apps/plugins/lua/rocklua.c | |||
@@ -20,6 +20,7 @@ | |||
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | 21 | ||
22 | #include "plugin.h" | 22 | #include "plugin.h" |
23 | #include "lib/pluginlib_exit.h" | ||
23 | #include "lua.h" | 24 | #include "lua.h" |
24 | #include "lauxlib.h" | 25 | #include "lauxlib.h" |
25 | #include "lualib.h" | 26 | #include "lualib.h" |
@@ -27,7 +28,7 @@ | |||
27 | #include "rockmalloc.h" | 28 | #include "rockmalloc.h" |
28 | #include "luadir.h" | 29 | #include "luadir.h" |
29 | 30 | ||
30 | 31 | PLUGIN_HEADER | |
31 | 32 | ||
32 | static const luaL_Reg lualibs[] = { | 33 | static const luaL_Reg lualibs[] = { |
33 | {"", luaopen_base}, | 34 | {"", luaopen_base}, |
@@ -147,6 +148,8 @@ enum plugin_status plugin_start(const void* parameter) | |||
147 | const char* filename; | 148 | const char* filename; |
148 | int status; | 149 | int status; |
149 | 150 | ||
151 | PLUGINLIB_EXIT_INIT | ||
152 | |||
150 | if (parameter == NULL) | 153 | if (parameter == NULL) |
151 | { | 154 | { |
152 | rb->splash(HZ, "Play a .lua file!"); | 155 | rb->splash(HZ, "Play a .lua file!"); |