00001
00002
00003
00004
00005
00006
00007 #ifndef lundump_h
00008 #define lundump_h
00009
00010 #include "lobject.h"
00011 #include "lzio.h"
00012
00013
00014 LUAI_FUNC Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name);
00015
00016
00017 LUAI_FUNC void luaU_header (char* h);
00018
00019
00020 LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip);
00021
00022 #ifdef luac_c
00023
00024 LUAI_FUNC void luaU_print (const Proto* f, int full);
00025 #endif
00026
00027
00028 #define LUAC_VERSION 0x51
00029
00030
00031 #define LUAC_FORMAT 0
00032
00033
00034 #define LUAC_HEADERSIZE 12
00035
00036 #endif