diff options
Diffstat (limited to 'lundump.h')
-rw-r--r-- | lundump.h | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lundump.h,v 1.19 2000/04/24 17:32:29 lhf Exp $ | 2 | ** $Id: lundump.h,v 1.19 2000/04/24 17:32:29 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 | */ |
@@ -11,10 +11,11 @@ | |||
11 | #include "lzio.h" | 11 | #include "lzio.h" |
12 | 12 | ||
13 | /* load one chunk */ | 13 | /* load one chunk */ |
14 | Proto* luaU_undump (lua_State* L, ZIO* Z); | ||
14 | Proto* luaU_undump1 (lua_State* L, ZIO* Z); | 15 | Proto* luaU_undump1 (lua_State* L, ZIO* Z); |
15 | 16 | ||
16 | /* convert number from text */ | 17 | /* find byte order */ |
17 | double luaU_str2d (lua_State* L, const char* b, const char* where); | 18 | int luaU_endianess (void); |
18 | 19 | ||
19 | /* definitions for headers of binary files */ | 20 | /* definitions for headers of binary files */ |
20 | #define VERSION 0x40 /* last format change was in 4.0 */ | 21 | #define VERSION 0x40 /* last format change was in 4.0 */ |
@@ -37,7 +38,4 @@ double luaU_str2d (lua_State* L, const char* b, const char* where); | |||
37 | /* multiplying by 1E8 gives non-trivial integer values */ | 38 | /* multiplying by 1E8 gives non-trivial integer values */ |
38 | #define TEST_NUMBER 3.14159265358979323846E8 | 39 | #define TEST_NUMBER 3.14159265358979323846E8 |
39 | 40 | ||
40 | /* something for testing byte order in instructions */ | ||
41 | #define TEST_CODE 0x01020304 | ||
42 | |||
43 | #endif | 41 | #endif |