forked from len0rd/rockbox
lua fix yellow and add temploader
temp loader allows some lua requires to be loaded and later garbage collected unfortunately the module needs to be formatted in such a way to pass back a call table in order to keep the functions within from being garbage collected too early BE AWARE this bypasses the module loader which would allow code reuse so if you aren't careful this memory saving tool could spell disaster for free RAM if you load the same code multiple times Change-Id: I0b6f81e481b8c779edbd620c8403794f8353926f
This commit is contained in:
parent
489a5f3ff7
commit
9b2f23319c
4 changed files with 104 additions and 60 deletions
|
@ -22,7 +22,8 @@ LUA_INCLUDELIST := $(addprefix $(LUA_BUILDDIR)/,audio.lua blit.lua color.lua \
|
|||
math_ex.lua print.lua timer.lua playlist.lua pcm.lua \
|
||||
sound.lua rbcompat.lua rbsettings.lua poly_points.lua \
|
||||
printtable.lua printmenus.lua printsubmenu.lua \
|
||||
menubuttons.lua menucoresettings.lua create_kbd_layout.lua)
|
||||
menubuttons.lua menucoresettings.lua create_kbd_layout.lua \
|
||||
temploader.lua)
|
||||
|
||||
ifndef APP_TYPE
|
||||
ROCKS += $(LUA_BUILDDIR)/lua.rock
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue