diff options
| author | William Wilgus <me.theuser@yahoo.com> | 2019-07-18 14:50:38 -0500 |
|---|---|---|
| committer | William Wilgus <me.theuser@yahoo.com> | 2019-07-18 14:56:00 -0500 |
| commit | 8bd992c5035bfee6aedbcae7669be5b823537aad (patch) | |
| tree | 2db34dbf0765362d875242b9908f3d0d95b387bb /apps/plugins/lua/luaconf.h | |
| parent | d5908f520e8b21091766076584c9f582dbcdae1c (diff) | |
| download | rockbox-8bd992c5035bfee6aedbcae7669be5b823537aad.zip rockbox-8bd992c5035bfee6aedbcae7669be5b823537aad.tar.gz rockbox-8bd992c5035bfee6aedbcae7669be5b823537aad.tar.bz2 rockbox-8bd992c5035bfee6aedbcae7669be5b823537aad.tar.xz | |
lua disable bytecode dump & undump functions
Adds a flag to remove the ability to dump and load lua bytecode
saves 6+kb
Change-Id: I080323df7f03f752e0a10928e22a7ce3190a9633
Diffstat (limited to 'apps/plugins/lua/luaconf.h')
| -rw-r--r-- | apps/plugins/lua/luaconf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lua/luaconf.h b/apps/plugins/lua/luaconf.h index 4b6f25d..582968d 100644 --- a/apps/plugins/lua/luaconf.h +++ b/apps/plugins/lua/luaconf.h @@ -797,7 +797,7 @@ extern long rb_pow(long, long); #undef LUA_COMPAT_GFIND #undef LUA_COMPAT_OPENLIB -/* Resize heap allocated buffers */ +/* Resize [STACK] allocated buffers */ #undef LUAI_MAXVARS /*200*/ #define LUAI_MAXVARS 100 @@ -811,6 +811,6 @@ extern long rb_pow(long, long); #include "rockconf.h" /*else*/ -#define LUAC_TRUST_BINARIES +#define LUA_DISABLE_BYTECODE #endif |