Mercurial > vba-clojure
annotate src/lua/lundump.h @ 478:43e0307d6ddc
increased tempo of regret
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Fri, 04 May 2012 07:28:40 -0500 |
parents | 27763b933818 |
children |
rev | line source |
---|---|
rlm@1 | 1 /* |
rlm@1 | 2 ** $Id: lundump.h,v 1.37.1.1 2007/12/27 13:02:25 roberto Exp $ |
rlm@1 | 3 ** load precompiled Lua chunks |
rlm@1 | 4 ** See Copyright Notice in lua.h |
rlm@1 | 5 */ |
rlm@1 | 6 |
rlm@1 | 7 #ifndef lundump_h |
rlm@1 | 8 #define lundump_h |
rlm@1 | 9 |
rlm@1 | 10 #include "lobject.h" |
rlm@1 | 11 #include "lzio.h" |
rlm@1 | 12 |
rlm@1 | 13 /* load one chunk; from lundump.c */ |
rlm@1 | 14 LUAI_FUNC Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name); |
rlm@1 | 15 |
rlm@1 | 16 /* make header; from lundump.c */ |
rlm@1 | 17 LUAI_FUNC void luaU_header (char* h); |
rlm@1 | 18 |
rlm@1 | 19 /* dump one chunk; from ldump.c */ |
rlm@1 | 20 LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip); |
rlm@1 | 21 |
rlm@1 | 22 #ifdef luac_c |
rlm@1 | 23 /* print one chunk; from print.c */ |
rlm@1 | 24 LUAI_FUNC void luaU_print (const Proto* f, int full); |
rlm@1 | 25 #endif |
rlm@1 | 26 |
rlm@1 | 27 /* for header of binary files -- this is Lua 5.1 */ |
rlm@1 | 28 #define LUAC_VERSION 0x51 |
rlm@1 | 29 |
rlm@1 | 30 /* for header of binary files -- this is the official format */ |
rlm@1 | 31 #define LUAC_FORMAT 0 |
rlm@1 | 32 |
rlm@1 | 33 /* size of header of binary files */ |
rlm@1 | 34 #define LUAC_HEADERSIZE 12 |
rlm@1 | 35 |
rlm@1 | 36 #endif |