diff options
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 |