aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-06-03 17:11:07 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-06-03 17:11:07 -0300
commit0079e0f57ce2bd4dc40b9b7c5831c58764a7938f (patch)
treefbef733822b5448991097a059afc9c544b7a1bc7 /lua.h
parentcfff0135868969de015e5cdcbd50ae7ae3ecc92d (diff)
downloadlua-0079e0f57ce2bd4dc40b9b7c5831c58764a7938f.tar.gz
lua-0079e0f57ce2bd4dc40b9b7c5831c58764a7938f.tar.bz2
lua-0079e0f57ce2bd4dc40b9b7c5831c58764a7938f.zip
core tests whether file is binary
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/lua.h b/lua.h
index 6277b98c..c2456039 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.134 2002/05/23 20:29:05 roberto Exp roberto $ 2** $Id: lua.h,v 1.135 2002/06/03 17:46:34 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension Language
4** Tecgraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil 4** Tecgraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil
5** e-mail: info@lua.org 5** e-mail: info@lua.org
@@ -182,7 +182,7 @@ LUA_API void lua_setmetatable (lua_State *L, int objindex);
182LUA_API void lua_rawcall (lua_State *L, int nargs, int nresults); 182LUA_API void lua_rawcall (lua_State *L, int nargs, int nresults);
183LUA_API int lua_pcall (lua_State *L, int nargs, int nresults, int errf); 183LUA_API int lua_pcall (lua_State *L, int nargs, int nresults, int errf);
184LUA_API int lua_load (lua_State *L, lua_Getblock getblock, void *ud, 184LUA_API int lua_load (lua_State *L, lua_Getblock getblock, void *ud,
185 int binary, const char *chunkname); 185 const char *chunkname);
186 186
187 187
188/* 188/*
@@ -291,9 +291,6 @@ LUA_API int lua_pushupvalues (lua_State *L);
291** ======================================================================= 291** =======================================================================
292*/ 292*/
293 293
294/* binary files start with <esc>Lua */
295#define LUA_SIGNATURE "\033Lua"
296
297/* formats for Lua numbers */ 294/* formats for Lua numbers */
298#ifndef LUA_NUMBER_SCAN 295#ifndef LUA_NUMBER_SCAN
299#define LUA_NUMBER_SCAN "%lf" 296#define LUA_NUMBER_SCAN "%lf"