Go to the source code of this file.
Macros | |
#define | LUAC_TAIL "\x19\x93\r\n\x1a\n" |
#define | LUAC_HEADERSIZE (sizeof(LUA_SIGNATURE)-sizeof(char)+2+6+sizeof(LUAC_TAIL)-sizeof(char)) |
Functions | |
LUAI_FUNC Closure * | luaU_undump (lua_State *L, ZIO *Z, Mbuffer *buff, const char *name) |
LUAI_FUNC void | luaU_header (lu_byte *h) |
LUAI_FUNC int | luaU_dump (lua_State *L, const Proto *f, lua_Writer w, void *data, int strip) |
#define LUAC_HEADERSIZE (sizeof(LUA_SIGNATURE)-sizeof(char)+2+6+sizeof(LUAC_TAIL)-sizeof(char)) |
Definition at line 25 of file lundump.h.
Referenced by DumpHeader(), and LoadHeader().
#define LUAC_TAIL "\x19\x93\r\n\x1a\n" |
Definition at line 22 of file lundump.h.
Referenced by luaU_header().
Definition at line 161 of file ldump.cpp.
References DumpState::data, DumpFunction(), DumpHeader(), DumpState::L, DumpState::status, DumpState::strip, utils::strip(), and DumpState::writer.
Referenced by lua_dump(), and pmain().
Definition at line 243 of file lundump.cpp.
References cast_byte, FORMAT, LUA_SIGNATURE, LUAC_TAIL, and VERSION.
Referenced by DumpHeader(), and LoadHeader().
Definition at line 205 of file lundump.cpp.
References LoadState::b, incr_top, LoadState::L, Closure::l, LoadFunction(), LoadHeader(), LUA_SIGNATURE, luaF_newLclosure(), luaF_newproto(), luai_verifycode, LoadState::name, LClosure::p, S, setclLvalue, Proto::sizeupvalues, lua_State::top, and LoadState::Z.
Referenced by f_parser().