`LUA_FIRSTINDEX' should not be configurable

This commit is contained in:
Roberto Ierusalimschy
2004-12-01 13:50:18 -02:00
parent 97e2dab1fb
commit 23b38176a7
2 changed files with 6 additions and 5 deletions

6
lua.h
View File

@@ -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

View File

@@ -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)