Lua 5.1.4: lundump.h


L0001    /*
L0002    ** $Id: lundump.h,v 1.37.1.1 2007/12/27 13:02:25 roberto Exp $
L0003    ** load precompiled Lua chunks
L0004    ** See Copyright Notice in lua.h
L0005    */
L0006    
L0007    #ifndef lundump_h
L0008    #define lundump_h
L0009    
L0010    #include "lobject.h"
L0011    #include "lzio.h"
L0012    
L0013    /* load one chunk; from lundump.c */
L0014    LUAI_FUNC Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name);
L0015    
L0016    /* make header; from lundump.c */
L0017    LUAI_FUNC void luaU_header (char* h);
L0018    
L0019    /* dump one chunk; from ldump.c */
L0020    LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip);
L0021    
L0022    #ifdef luac_c
L0023    /* print one chunk; from print.c */
L0024    LUAI_FUNC void luaU_print (const Proto* f, int full);
L0025    #endif
L0026    
L0027    /* for header of binary files -- this is Lua 5.1 */
L0028    #define LUAC_VERSION		0x51
L0029    
L0030    /* for header of binary files -- this is the official format */
L0031    #define LUAC_FORMAT		0
L0032    
L0033    /* size of header of binary files */
L0034    #define LUAC_HEADERSIZE		12
L0035    
L0036    #endif

Generated by
pretty.lua