lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 23b38176a7ad8d8f830727bcee1669473cf3c1c1
parent 97e2dab1fb1b90f806eeb4da51bb74a2cdb6ca54
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Wed,  1 Dec 2004 13:49:56 -0200

`LUA_FIRSTINDEX' should not be configurable

Diffstat:
Mlua.h | 6+++++-
Mluaconf.h | 5+----
2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/lua.h b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.193 2004/09/15 20:39:42 roberto Exp roberto $ +** $Id: lua.h,v 1.194 2004/10/18 12:51:44 roberto Exp roberto $ ** Lua - An Extensible Extension Language ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil ** 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); #define LUA_TTHREAD 8 +/* first index for arrays */ +#define LUA_FIRSTINDEX 1 + + /* minimum Lua stack available to a C function */ #define LUA_MINSTACK 20 diff --git a/luaconf.h b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.16 2004/11/18 19:53:49 roberto Exp roberto $ +** $Id: luaconf.h,v 1.17 2004/11/24 18:55:56 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -63,9 +63,6 @@ #define LUAL_BUFFERSIZE BUFSIZ -/* first index for arrays */ -#define LUA_FIRSTINDEX 1 - /* assertions in Lua (mainly for internal debugging) */ #define lua_assert(c) ((void)0)