`LUA_FIRSTINDEX' should not be configurable
This commit is contained in:
6
lua.h
6
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
|
** Lua - An Extensible Extension Language
|
||||||
** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil
|
** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil
|
||||||
** http://www.lua.org mailto:info@lua.org
|
** 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
|
#define LUA_TTHREAD 8
|
||||||
|
|
||||||
|
|
||||||
|
/* first index for arrays */
|
||||||
|
#define LUA_FIRSTINDEX 1
|
||||||
|
|
||||||
|
|
||||||
/* minimum Lua stack available to a C function */
|
/* minimum Lua stack available to a C function */
|
||||||
#define LUA_MINSTACK 20
|
#define LUA_MINSTACK 20
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
** Configuration file for Lua
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
@@ -63,9 +63,6 @@
|
|||||||
#define LUAL_BUFFERSIZE BUFSIZ
|
#define LUAL_BUFFERSIZE BUFSIZ
|
||||||
|
|
||||||
|
|
||||||
/* first index for arrays */
|
|
||||||
#define LUA_FIRSTINDEX 1
|
|
||||||
|
|
||||||
/* assertions in Lua (mainly for internal debugging) */
|
/* assertions in Lua (mainly for internal debugging) */
|
||||||
#define lua_assert(c) ((void)0)
|
#define lua_assert(c) ((void)0)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user