diff options
| author | Lua Team <team@lua.org> | 2004-12-07 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 2004-12-07 12:00:00 +0000 |
| commit | 226f7859b5392b6680b7e703f9cc7f7f101fd365 (patch) | |
| tree | 4345e84719d7f9ccf8d62fa007cbd386f235c58a /src/lundump.h | |
| parent | d8fd22e11b391cf183068049bebbee9702c8f78f (diff) | |
| download | lua-github-5.1-work3.tar.gz | |
Lua 5.1-work35.1-work3
Diffstat (limited to 'src/lundump.h')
| -rw-r--r-- | src/lundump.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/lundump.h b/src/lundump.h index 4628b81d..1a7b897b 100644 --- a/src/lundump.h +++ b/src/lundump.h @@ -1,5 +1,5 @@ /* -** $Id: lundump.h,v 1.33 2004/06/09 21:03:53 lhf Exp $ +** $Id: lundump.h,v 1.34 2004/11/25 09:31:41 lhf Exp $ ** load pre-compiled Lua chunks ** See Copyright Notice in lua.h */ @@ -22,12 +22,10 @@ int luaU_dump (lua_State* L, const Proto* f, lua_Chunkwriter w, void* data, int /* print one chunk; from print.c */ void luaU_print (const Proto* f, int full); -/* definitions for headers of binary files */ -#define VERSION 0x51 /* last format change was in 5.1 */ -#define VERSION0 0x51 /* last major change was in 5.1 */ +/* for header of binary files -- this is Lua 5.1 */ +#define VERSION 0x51 -/* a multiple of PI for testing native format */ -/* multiplying by 1E7 gives non-trivial integer values */ -#define TEST_NUMBER ((lua_Number)3.14159265358979323846E7) +/* for testing native format of lua_Numbers */ +#define TEST_NUMBER ((lua_Number)31415926.0) #endif |
