diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-04 15:53:41 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-04 15:53:41 -0300 |
| commit | eebc9729e4614d1c3da7757022cb6d73babd0e0a (patch) | |
| tree | 0393a08552300d225254399c57366142657c2b5f /lundump.h | |
| parent | 6990b064679576ec46d26294108bd6cb7991faa6 (diff) | |
| download | lua-eebc9729e4614d1c3da7757022cb6d73babd0e0a.tar.gz lua-eebc9729e4614d1c3da7757022cb6d73babd0e0a.tar.bz2 lua-eebc9729e4614d1c3da7757022cb6d73babd0e0a.zip | |
new versions by lhf
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 |
