diff options
Diffstat (limited to 'apps/plugins/lua/lundump.h')
| -rw-r--r-- | apps/plugins/lua/lundump.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/plugins/lua/lundump.h b/apps/plugins/lua/lundump.h index f791a4f..b2fe851 100644 --- a/apps/plugins/lua/lundump.h +++ b/apps/plugins/lua/lundump.h @@ -13,12 +13,13 @@ /* load one chunk; from lundump.c */ LUAI_FUNC Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name); -/* make header; from lundump.c */ -LUAI_FUNC void luaU_header (char* h); - /* dump one chunk; from ldump.c */ LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip); +#ifndef LUA_DISABLE_BYTECODE +/* make header; from lundump.c */ +LUAI_FUNC void luaU_header (char* h); + #ifdef luac_c /* print one chunk; from print.c */ LUAI_FUNC void luaU_print (const Proto* f, int full); @@ -33,4 +34,5 @@ LUAI_FUNC void luaU_print (const Proto* f, int full); /* size of header of binary files */ #define LUAC_HEADERSIZE 12 +#endif /* LUA_DISABLE_BYTECODE */ #endif |