new versions by lhf

This commit is contained in:
Roberto Ierusalimschy
2000-09-04 15:53:41 -03:00
parent 6990b06467
commit eebc9729e4
2 changed files with 124 additions and 148 deletions

View File

@@ -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