aboutsummaryrefslogtreecommitdiff
path: root/lundump.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-07-12 16:34:03 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-07-12 16:34:03 -0300
commit9f25df02d53f6d31d904957bc411ef72d8378dc8 (patch)
treef03105ea6d9bc5f6c9ac0ebeff6d3a3f48479637 /lundump.h
parentae1cf64348ca7bcb6d3abb19a0b97918e343914c (diff)
downloadlua-9f25df02d53f6d31d904957bc411ef72d8378dc8.tar.gz
lua-9f25df02d53f6d31d904957bc411ef72d8378dc8.tar.bz2
lua-9f25df02d53f6d31d904957bc411ef72d8378dc8.zip
new definition for headers of binary files
Diffstat (limited to 'lundump.h')
-rw-r--r--lundump.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lundump.h b/lundump.h
index 267326e1..b82f0b8c 100644
--- a/lundump.h
+++ b/lundump.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lundump.h,v 1.23 2001/06/28 13:55:17 lhf Exp $ 2** $Id: lundump.h,v 1.23 2001/06/28 13:55:17 lhf Exp lhf $
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*/
@@ -19,8 +19,7 @@ int luaU_endianness (void);
19/* definitions for headers of binary files */ 19/* definitions for headers of binary files */
20#define VERSION 0x41 /* last format change was in 4.1 */ 20#define VERSION 0x41 /* last format change was in 4.1 */
21#define VERSION0 0x41 /* last major change was in 4.1 */ 21#define VERSION0 0x41 /* last major change was in 4.1 */
22#define ID_CHUNK 27 /* binary files start with ESC... */ 22#define LUA_SIGNATURE "\033Lua" /* binary files start with <esc>Lua */
23#define SIGNATURE "Lua" /* ...followed by this signature */
24 23
25/* a multiple of PI for testing native format */ 24/* a multiple of PI for testing native format */
26/* multiplying by 1E8 gives non-trivial integer values */ 25/* multiplying by 1E8 gives non-trivial integer values */