00001 /* 00002 ** $Id: lundump.h,v 1.37.1.1 2007/12/27 13:02:25 roberto Exp $ 00003 ** load precompiled Lua chunks 00004 ** See Copyright Notice in lua.h 00005 */ 00006 00007 #ifndef lundump_h 00008 #define lundump_h 00009 00010 #include "lobject.h" 00011 #include "lzio.h" 00012 00013 /* load one chunk; from lundump.c */ 00014 LUAI_FUNC Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name); 00015 00016 /* make header; from lundump.c */ 00017 LUAI_FUNC void luaU_header (char* h); 00018 00019 /* dump one chunk; from ldump.c */ 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 /* print one chunk; from print.c */ 00024 LUAI_FUNC void luaU_print (const Proto* f, int full); 00025 #endif 00026 00027 /* for header of binary files -- this is Lua 5.1 */ 00028 #define LUAC_VERSION 0x51 00029 00030 /* for header of binary files -- this is the official format */ 00031 #define LUAC_FORMAT 0 00032 00033 /* size of header of binary files */ 00034 #define LUAC_HEADERSIZE 12 00035 00036 #endif
ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:55 2011 by Doxygen 1.6.1