From eebc9729e4614d1c3da7757022cb6d73babd0e0a Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 4 Sep 2000 15:53:41 -0300 Subject: new versions by lhf --- lundump.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'lundump.h') diff --git a/lundump.h b/lundump.h index 5c27ae07..debe0b7a 100644 --- a/lundump.h +++ b/lundump.h @@ -1,5 +1,5 @@ /* -** $Id: lundump.h,v 1.19 2000/04/24 17:32:29 lhf Exp $ +** $Id: lundump.h,v 1.19 2000/04/24 17:32:29 lhf Exp lhf $ ** load pre-compiled Lua chunks ** See Copyright Notice in lua.h */ @@ -11,10 +11,11 @@ #include "lzio.h" /* load one chunk */ +Proto* luaU_undump (lua_State* L, ZIO* Z); Proto* luaU_undump1 (lua_State* L, ZIO* Z); -/* convert number from text */ -double luaU_str2d (lua_State* L, const char* b, const char* where); +/* find byte order */ +int luaU_endianess (void); /* definitions for headers of binary files */ #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); /* multiplying by 1E8 gives non-trivial integer values */ #define TEST_NUMBER 3.14159265358979323846E8 -/* something for testing byte order in instructions */ -#define TEST_CODE 0x01020304 - #endif -- cgit v1.2.3-55-g6feb