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.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 */ |