From 0079e0f57ce2bd4dc40b9b7c5831c58764a7938f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 3 Jun 2002 17:11:07 -0300 Subject: core tests whether file is binary --- lundump.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lundump.h') diff --git a/lundump.h b/lundump.h index 6c647acf..473da103 100644 --- a/lundump.h +++ b/lundump.h @@ -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 Lua */ +#define LUA_SIGNATURE "\033Lua" + #endif -- cgit v1.2.3-55-g6feb