summaryrefslogtreecommitdiff
path: root/lundump.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-02-23 14:17:25 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-02-23 14:17:25 -0300
commit39b79783297bee79db9853b63d199e120a009a8f (patch)
treec738c621c4c28d8822c2f785400786301985273b /lundump.h
parentd164e2294f73d8e69f00d95a66014514b2dd0ec0 (diff)
downloadlua-39b79783297bee79db9853b63d199e120a009a8f.tar.gz
lua-39b79783297bee79db9853b63d199e120a009a8f.tar.bz2
lua-39b79783297bee79db9853b63d199e120a009a8f.zip
first (big) step to support wide chars
Diffstat (limited to 'lundump.h')
-rw-r--r--lundump.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lundump.h b/lundump.h
index 446d2de9..19bef569 100644
--- a/lundump.h
+++ b/lundump.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lundump.h,v 1.21 2000/10/31 16:57:23 lhf Exp $ 2** $Id: lundump.h,v 1.19 2000/11/07 12:44:44 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,12 @@ 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 "Lua" /* ...followed by this signature */ 23#define SIGNATURE l_s("Lua") /* ...followed by this signature */
24 24
25/* formats for error messages */ 25/* formats for error messages */
26#define SOURCE_FMT "<%d:%.99s>" 26#define SOURCE_FMT l_s("<%d:%.99s>")
27#define SOURCE tf->lineDefined,tf->source->str 27#define SOURCE tf->lineDefined,tf->source->str
28#define IN_FMT " in %p " SOURCE_FMT 28#define IN_FMT l_s(" in %p ") SOURCE_FMT
29#define IN tf,SOURCE 29#define IN tf,SOURCE
30 30
31/* a multiple of PI for testing native format */ 31/* a multiple of PI for testing native format */