summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-12-01 13:50:18 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-12-01 13:50:18 -0200
commit23b38176a7ad8d8f830727bcee1669473cf3c1c1 (patch)
tree16f02a39027de00ceb847b4f16399056147c057b
parent97e2dab1fb1b90f806eeb4da51bb74a2cdb6ca54 (diff)
downloadlua-23b38176a7ad8d8f830727bcee1669473cf3c1c1.tar.gz
lua-23b38176a7ad8d8f830727bcee1669473cf3c1c1.tar.bz2
lua-23b38176a7ad8d8f830727bcee1669473cf3c1c1.zip
`LUA_FIRSTINDEX' should not be configurable
-rw-r--r--lua.h6
-rw-r--r--luaconf.h5
2 files changed, 6 insertions, 5 deletions
diff --git a/lua.h b/lua.h
index 5d8b3a7a..8e005d09 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.193 2004/09/15 20:39:42 roberto Exp roberto $ 2** $Id: lua.h,v 1.194 2004/10/18 12:51:44 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension Language
4** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil 4** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil
5** http://www.lua.org mailto:info@lua.org 5** http://www.lua.org mailto:info@lua.org
@@ -81,6 +81,10 @@ typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
81#define LUA_TTHREAD 8 81#define LUA_TTHREAD 8
82 82
83 83
84/* first index for arrays */
85#define LUA_FIRSTINDEX 1
86
87
84/* minimum Lua stack available to a C function */ 88/* minimum Lua stack available to a C function */
85#define LUA_MINSTACK 20 89#define LUA_MINSTACK 20
86 90
diff --git a/luaconf.h b/luaconf.h
index 389cb521..86dac868 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.16 2004/11/18 19:53:49 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.17 2004/11/24 18:55:56 roberto Exp roberto $
3** Configuration file for Lua 3** Configuration file for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -63,9 +63,6 @@
63#define LUAL_BUFFERSIZE BUFSIZ 63#define LUAL_BUFFERSIZE BUFSIZ
64 64
65 65
66/* first index for arrays */
67#define LUA_FIRSTINDEX 1
68
69/* assertions in Lua (mainly for internal debugging) */ 66/* assertions in Lua (mainly for internal debugging) */
70#define lua_assert(c) ((void)0) 67#define lua_assert(c) ((void)0)
71 68