Преглед изворни кода

`LUA_FIRSTINDEX' should not be configurable

Roberto Ierusalimschy пре 20 година
родитељ
комит
23b38176a7
2 измењених фајлова са 6 додато и 5 уклоњено
  1. 5 1
      lua.h
  2. 1 4
      luaconf.h

+ 5 - 1
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:[email protected]
@@ -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
 

+ 1 - 4
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)