new macro LUA_API

This commit is contained in:
Roberto Ierusalimschy
2000-10-20 14:39:03 -02:00
parent 8b88ab07f7
commit 64eecc0b82
19 changed files with 238 additions and 232 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lundump.h,v 1.19 2000/04/24 17:32:29 lhf Exp lhf $
** $Id: lundump.h,v 1.20 2000/09/18 20:03:46 lhf Exp lhf $
** load pre-compiled Lua chunks
** See Copyright Notice in lua.h
*/
@@ -12,7 +12,6 @@
/* load one chunk */
Proto* luaU_undump (lua_State* L, ZIO* Z);
#define luaU_undump1 luaU_undump
/* find byte order */
int luaU_endianess (void);
@@ -29,11 +28,6 @@ int luaU_endianess (void);
#define IN " in %p " SOURCE
#define INLOC tf,tf->source->str,tf->lineDefined
/* format for numbers in listings and error messages */
#ifndef NUMBER_FMT
#define NUMBER_FMT "%.16g" /* LUA_NUMBER */
#endif
/* a multiple of PI for testing native format */
/* multiplying by 1E8 gives non-trivial integer values */
#define TEST_NUMBER 3.14159265358979323846E8