This commit is contained in:
Roberto Ierusalimschy
2002-03-07 15:11:51 -03:00
parent 457d88eaaa
commit 6658b9588f
2 changed files with 10 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: llimits.h,v 1.37 2002/02/14 21:43:01 roberto Exp roberto $
** $Id: llimits.h,v 1.38 2002/03/05 16:22:54 roberto Exp roberto $
** Limits, basic types, and some other `installation-dependent' definitions
** See Copyright Notice in lua.h
*/
@@ -86,6 +86,12 @@ union L_Umaxalign { LUSER_ALIGNMENT_T u; void *s; long l; };
typedef unsigned long Instruction;
/* maximum size for the Lua stack */
#ifndef LUA_MAXSTACK
#define LUA_MAXSTACK 14000
#endif
/* maximum stack for a Lua function */
#define MAXSTACK 250
@@ -108,9 +114,9 @@ typedef unsigned long Instruction;
#endif
/* minimum size for the string table */
/* minimum size for the string table (must be power of 2) */
#ifndef MINSTRTABSIZE
#define MINSTRTABSIZE 20
#define MINSTRTABSIZE 32
#endif

View File

@@ -1,5 +1,5 @@
/*
** $Id: lstate.h,v 1.68 2001/12/18 20:52:30 roberto Exp $
** $Id: lstate.h,v 1.77 2002/02/14 21:47:29 roberto Exp roberto $
** Global State
** See Copyright Notice in lua.h
*/
@@ -73,10 +73,6 @@ struct lua_longjmp; /* defined in ldo.c */
#define BASIC_STACK_SIZE (2*LUA_MINSTACK)
#ifndef LUA_MAXSTACK
#define LUA_MAXSTACK 14000
#endif
typedef struct stringtable {