diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-20 14:39:03 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-20 14:39:03 -0200 |
commit | 64eecc0b8219cc3bcaa2b717826a4376c60d9305 (patch) | |
tree | a1633501cdf21016a00bd555c475daea58ec24f5 /lundump.h | |
parent | 8b88ab07f7cfc216407a88d75ad8f0546224c8d7 (diff) | |
download | lua-64eecc0b8219cc3bcaa2b717826a4376c60d9305.tar.gz lua-64eecc0b8219cc3bcaa2b717826a4376c60d9305.tar.bz2 lua-64eecc0b8219cc3bcaa2b717826a4376c60d9305.zip |
new macro LUA_API
Diffstat (limited to 'lundump.h')
-rw-r--r-- | lundump.h | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lundump.h,v 1.19 2000/04/24 17:32:29 lhf Exp lhf $ | 2 | ** $Id: lundump.h,v 1.20 2000/09/18 20:03:46 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 | */ |
@@ -12,7 +12,6 @@ | |||
12 | 12 | ||
13 | /* load one chunk */ | 13 | /* load one chunk */ |
14 | Proto* luaU_undump (lua_State* L, ZIO* Z); | 14 | Proto* luaU_undump (lua_State* L, ZIO* Z); |
15 | #define luaU_undump1 luaU_undump | ||
16 | 15 | ||
17 | /* find byte order */ | 16 | /* find byte order */ |
18 | int luaU_endianess (void); | 17 | int luaU_endianess (void); |
@@ -29,11 +28,6 @@ int luaU_endianess (void); | |||
29 | #define IN " in %p " SOURCE | 28 | #define IN " in %p " SOURCE |
30 | #define INLOC tf,tf->source->str,tf->lineDefined | 29 | #define INLOC tf,tf->source->str,tf->lineDefined |
31 | 30 | ||
32 | /* format for numbers in listings and error messages */ | ||
33 | #ifndef NUMBER_FMT | ||
34 | #define NUMBER_FMT "%.16g" /* LUA_NUMBER */ | ||
35 | #endif | ||
36 | |||
37 | /* a multiple of PI for testing native format */ | 31 | /* a multiple of PI for testing native format */ |
38 | /* multiplying by 1E8 gives non-trivial integer values */ | 32 | /* multiplying by 1E8 gives non-trivial integer values */ |
39 | #define TEST_NUMBER 3.14159265358979323846E8 | 33 | #define TEST_NUMBER 3.14159265358979323846E8 |