aboutsummaryrefslogtreecommitdiff
path: root/lundump.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-03-26 11:31:49 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-03-26 11:31:49 -0300
commitdd3a63c205a97339d8c8aec3cd49941bc10ba45c (patch)
tree763c1701607ace52692c8566277c6c70c7895acd /lundump.h
parentcb49b088b61b75b905663a58a2c545de1ffea13a (diff)
downloadlua-dd3a63c205a97339d8c8aec3cd49941bc10ba45c.tar.gz
lua-dd3a63c205a97339d8c8aec3cd49941bc10ba45c.tar.bz2
lua-dd3a63c205a97339d8c8aec3cd49941bc10ba45c.zip
new way to handle `profiles'
Diffstat (limited to 'lundump.h')
-rw-r--r--lundump.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lundump.h b/lundump.h
index 19bef569..ba7dd82b 100644
--- a/lundump.h
+++ b/lundump.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lundump.h,v 1.19 2000/11/07 12:44:44 roberto Exp roberto $ 2** $Id: lundump.h,v 1.20 2001/02/23 17:17:25 roberto Exp roberto $
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*/
@@ -20,12 +20,10 @@ int luaU_endianess (void);
20#define VERSION 0x40 /* last format change was in 4.0 */ 20#define VERSION 0x40 /* last format change was in 4.0 */
21#define VERSION0 0x40 /* last major change was in 4.0 */ 21#define VERSION0 0x40 /* last major change was in 4.0 */
22#define ID_CHUNK 27 /* binary files start with ESC... */ 22#define ID_CHUNK 27 /* binary files start with ESC... */
23#define SIGNATURE l_s("Lua") /* ...followed by this signature */ 23#define SIGNATURE "Lua" /* ...followed by this signature */
24 24
25/* formats for error messages */ 25/* formats for error messages */
26#define SOURCE_FMT l_s("<%d:%.99s>")
27#define SOURCE tf->lineDefined,tf->source->str 26#define SOURCE tf->lineDefined,tf->source->str
28#define IN_FMT l_s(" in %p ") SOURCE_FMT
29#define IN tf,SOURCE 27#define IN tf,SOURCE
30 28
31/* a multiple of PI for testing native format */ 29/* a multiple of PI for testing native format */