diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-04-10 14:39:41 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-04-10 14:39:41 -0300 |
commit | 762c7370376dbd13cd8aeb4d8c8da0bb153269c3 (patch) | |
tree | 6170a2d6bc5d2a7cd4f15cf180dd17d89bf36554 /lundump.h | |
parent | de57dc2653ff9efcdfd1ddc5f21aaaa159e5f79a (diff) | |
download | lua-762c7370376dbd13cd8aeb4d8c8da0bb153269c3.tar.gz lua-762c7370376dbd13cd8aeb4d8c8da0bb153269c3.tar.bz2 lua-762c7370376dbd13cd8aeb4d8c8da0bb153269c3.zip |
last changes by lhfv5.0
Diffstat (limited to 'lundump.h')
-rw-r--r-- | lundump.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lundump.h,v 1.28 2002/12/13 11:12:35 lhf Exp $ | 2 | ** $Id: lundump.h,v 1.30 2003/04/07 20:34:20 lhf Exp $ |
3 | ** load pre-compiled Lua chunks | 3 | ** load pre-compiled Lua chunks |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -23,12 +23,12 @@ void luaU_dump (lua_State* L, const Proto* Main, lua_Chunkwriter w, void* data); | |||
23 | void luaU_print (const Proto* Main); | 23 | void luaU_print (const Proto* Main); |
24 | 24 | ||
25 | /* definitions for headers of binary files */ | 25 | /* definitions for headers of binary files */ |
26 | #define LUA_SIGNATURE "\033Lua" /* binary files start with <esc>Lua */ | 26 | #define LUA_SIGNATURE "\033Lua" /* binary files start with "<esc>Lua" */ |
27 | #define VERSION 0x50 /* last format change was in 5.0 */ | 27 | #define VERSION 0x50 /* last format change was in 5.0 */ |
28 | #define VERSION0 0x50 /* last major change was in 5.0 */ | 28 | #define VERSION0 0x50 /* last major change was in 5.0 */ |
29 | 29 | ||
30 | /* a multiple of PI for testing native format */ | 30 | /* a multiple of PI for testing native format */ |
31 | /* multiplying by 1E8 gives non-trivial integer values */ | 31 | /* multiplying by 1E7 gives non-trivial integer values */ |
32 | #define TEST_NUMBER 3.14159265358979323846E8 | 32 | #define TEST_NUMBER ((lua_Number)3.14159265358979323846E7) |
33 | 33 | ||
34 | #endif | 34 | #endif |