mirror of
https://github.com/lua/lua
synced 2026-09-27 00:28:25 +03:00
core tests whether file is binary
This commit is contained in:
parent
cfff013586
commit
0079e0f57c
5 changed files with 25 additions and 11 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: lundump.h,v 1.23 2001/07/12 19:34:03 roberto Exp roberto $
|
||||
** $Id: lundump.h,v 1.24 2002/06/03 17:46:34 roberto Exp roberto $
|
||||
** load pre-compiled Lua chunks
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -24,4 +24,7 @@ int luaU_endianness (void);
|
|||
/* multiplying by 1E8 gives non-trivial integer values */
|
||||
#define TEST_NUMBER 3.14159265358979323846E8
|
||||
|
||||
/* binary files start with <esc>Lua */
|
||||
#define LUA_SIGNATURE "\033Lua"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue