diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-03 17:11:07 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-03 17:11:07 -0300 |
commit | 0079e0f57ce2bd4dc40b9b7c5831c58764a7938f (patch) | |
tree | fbef733822b5448991097a059afc9c544b7a1bc7 /lundump.h | |
parent | cfff0135868969de015e5cdcbd50ae7ae3ecc92d (diff) | |
download | lua-0079e0f57ce2bd4dc40b9b7c5831c58764a7938f.tar.gz lua-0079e0f57ce2bd4dc40b9b7c5831c58764a7938f.tar.bz2 lua-0079e0f57ce2bd4dc40b9b7c5831c58764a7938f.zip |
core tests whether file is binary
Diffstat (limited to 'lundump.h')
-rw-r--r-- | lundump.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lundump.h,v 1.23 2001/07/12 19:34:03 roberto Exp roberto $ | 2 | ** $Id: lundump.h,v 1.24 2002/06/03 17:46:34 roberto Exp roberto $ |
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 | */ |
@@ -24,4 +24,7 @@ int luaU_endianness (void); | |||
24 | /* multiplying by 1E8 gives non-trivial integer values */ | 24 | /* multiplying by 1E8 gives non-trivial integer values */ |
25 | #define TEST_NUMBER 3.14159265358979323846E8 | 25 | #define TEST_NUMBER 3.14159265358979323846E8 |
26 | 26 | ||
27 | /* binary files start with <esc>Lua */ | ||
28 | #define LUA_SIGNATURE "\033Lua" | ||
29 | |||
27 | #endif | 30 | #endif |