summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/rocklua.c
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2018-10-22 14:00:58 -0400
committerWilliam Wilgus <me.theuser@yahoo.com>2018-10-22 14:00:58 -0400
commit948984309a3c1dd6b92f018926e9831083c803e3 (patch)
treea79bda99ff3d905828f4ea407f912cc22c1c5a4f /apps/plugins/lua/rocklua.c
parent7a132a257a47be37daa2da97706745ca9182d14a (diff)
downloadrockbox-948984309a3c1dd6b92f018926e9831083c803e3.tar.gz
rockbox-948984309a3c1dd6b92f018926e9831083c803e3.zip
lua move rocklib_img to its own separate loadable module
allows rocklib_img to be excluded if needed stops rocklib_aux from generating redundant prototypes for lcd_mono_bitmap[_part] Change-Id: Ie208ad71ab5f9a7deb026dc01a5b0a0631a0d29c
Diffstat (limited to 'apps/plugins/lua/rocklua.c')
-rw-r--r--apps/plugins/lua/rocklua.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/lua/rocklua.c b/apps/plugins/lua/rocklua.c
index 48b5d62c37..af87a0bfd7 100644
--- a/apps/plugins/lua/rocklua.c
+++ b/apps/plugins/lua/rocklua.c
@@ -24,6 +24,7 @@
24#include "lauxlib.h" 24#include "lauxlib.h"
25#include "lualib.h" 25#include "lualib.h"
26#include "rocklib.h" 26#include "rocklib.h"
27#include "rocklib_img.h"
27#include "luadir.h" 28#include "luadir.h"
28 29
29 30
@@ -34,6 +35,7 @@ static const luaL_Reg lualibs[] = {
34 {LUA_STRLIBNAME, luaopen_string}, 35 {LUA_STRLIBNAME, luaopen_string},
35 {LUA_OSLIBNAME, luaopen_os}, 36 {LUA_OSLIBNAME, luaopen_os},
36 {LUA_ROCKLIBNAME, luaopen_rock}, 37 {LUA_ROCKLIBNAME, luaopen_rock},
38 {LUA_ROCKLIBNAME, luaopen_rock_img},
37 {LUA_BITLIBNAME, luaopen_bit}, 39 {LUA_BITLIBNAME, luaopen_bit},
38 {LUA_IOLIBNAME, luaopen_io}, 40 {LUA_IOLIBNAME, luaopen_io},
39 {LUA_LOADLIBNAME, luaopen_package}, 41 {LUA_LOADLIBNAME, luaopen_package},