diff options
| author | Lua Team <team@lua.org> | 2004-03-24 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 2004-03-24 12:00:00 +0000 |
| commit | ced7bbbe7a257ce6de94069d5dbf6672aeafd4d9 (patch) | |
| tree | 2a01a79e6a4f451dccd247c70310ad957204cefa /src/lundump.h | |
| parent | e7731a8fb8a317aa5c444ef073bfad82fa5baa54 (diff) | |
| download | lua-github-ced7bbbe7a257ce6de94069d5dbf6672aeafd4d9.tar.gz | |
Lua 5.1-work05.1-work0
Diffstat (limited to 'src/lundump.h')
| -rw-r--r-- | src/lundump.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/lundump.h b/src/lundump.h index c7e6959b..26c792a8 100644 --- a/src/lundump.h +++ b/src/lundump.h @@ -1,5 +1,5 @@ /* -** $Id: lundump.h,v 1.30 2003/04/07 20:34:20 lhf Exp $ +** $Id: lundump.h,v 1.32 2003/12/09 19:22:19 lhf Exp $ ** load pre-compiled Lua chunks ** See Copyright Notice in lua.h */ @@ -11,21 +11,20 @@ #include "lzio.h" /* load one chunk; from lundump.c */ -Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff); +Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char *name); /* find byte order; from lundump.c */ int luaU_endianness (void); /* dump one chunk; from ldump.c */ -void luaU_dump (lua_State* L, const Proto* Main, lua_Chunkwriter w, void* data); +int luaU_dump (lua_State* L, const Proto* Main, lua_Chunkwriter w, void* data, int strip); /* print one chunk; from print.c */ void luaU_print (const Proto* Main); /* definitions for headers of binary files */ -#define LUA_SIGNATURE "\033Lua" /* binary files start with "<esc>Lua" */ -#define VERSION 0x50 /* last format change was in 5.0 */ -#define VERSION0 0x50 /* last major change was in 5.0 */ +#define VERSION 0x51 /* last format change was in 5.1 */ +#define VERSION0 0x51 /* last major change was in 5.1 */ /* a multiple of PI for testing native format */ /* multiplying by 1E7 gives non-trivial integer values */ |
