mirror of
https://github.com/lua/lua.git
synced 2025-01-28 06:03:00 +08:00
no need for a maximum number of parameters (maximum number of locals
take care of that).
This commit is contained in:
parent
a0a384a6b1
commit
91bf77534c
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
** $Id: llimits.h,v 1.54 2003/04/28 19:57:50 roberto Exp roberto $
|
** $Id: llimits.h,v 1.55 2003/05/14 21:01:53 roberto Exp roberto $
|
||||||
** Limits, basic types, and some other `installation-dependent' definitions
|
** Limits, basic types, and some other `installation-dependent' definitions
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
@ -156,12 +156,6 @@ typedef lu_int32 Instruction;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* maximum number of parameters in a function */
|
|
||||||
#ifndef MAXPARAMS
|
|
||||||
#define MAXPARAMS 100 /* <MAXLOCALS */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/* minimum size for the string table (must be power of 2) */
|
/* minimum size for the string table (must be power of 2) */
|
||||||
#ifndef MINSTRTABSIZE
|
#ifndef MINSTRTABSIZE
|
||||||
#define MINSTRTABSIZE 32
|
#define MINSTRTABSIZE 32
|
||||||
|
3
ltests.c
3
ltests.c
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
** $Id: ltests.c,v 1.161 2003/05/14 21:10:07 roberto Exp roberto $
|
** $Id: ltests.c,v 1.162 2003/07/09 12:08:43 roberto Exp roberto $
|
||||||
** Internal Module for Debugging of the Lua Implementation
|
** Internal Module for Debugging of the Lua Implementation
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
@ -246,7 +246,6 @@ static int get_limits (lua_State *L) {
|
|||||||
setnameval(L, "BITS_INT", BITS_INT);
|
setnameval(L, "BITS_INT", BITS_INT);
|
||||||
setnameval(L, "LFPF", LFIELDS_PER_FLUSH);
|
setnameval(L, "LFPF", LFIELDS_PER_FLUSH);
|
||||||
setnameval(L, "MAXVARS", MAXVARS);
|
setnameval(L, "MAXVARS", MAXVARS);
|
||||||
setnameval(L, "MAXPARAMS", MAXPARAMS);
|
|
||||||
setnameval(L, "MAXSTACK", MAXSTACK);
|
setnameval(L, "MAXSTACK", MAXSTACK);
|
||||||
setnameval(L, "MAXUPVALUES", MAXUPVALUES);
|
setnameval(L, "MAXUPVALUES", MAXUPVALUES);
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user