diff options
-rw-r--r-- | llimits.h | 8 | ||||
-rw-r--r-- | ltests.c | 3 |
2 files changed, 2 insertions, 9 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llimits.h,v 1.54 2003/04/28 19:57:50 roberto Exp roberto $ | 2 | ** $Id: llimits.h,v 1.55 2003/05/14 21:01:53 roberto Exp roberto $ |
3 | ** Limits, basic types, and some other `installation-dependent' definitions | 3 | ** Limits, basic types, and some other `installation-dependent' definitions |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -156,12 +156,6 @@ typedef lu_int32 Instruction; | |||
156 | #endif | 156 | #endif |
157 | 157 | ||
158 | 158 | ||
159 | /* maximum number of parameters in a function */ | ||
160 | #ifndef MAXPARAMS | ||
161 | #define MAXPARAMS 100 /* <MAXLOCALS */ | ||
162 | #endif | ||
163 | |||
164 | |||
165 | /* minimum size for the string table (must be power of 2) */ | 159 | /* minimum size for the string table (must be power of 2) */ |
166 | #ifndef MINSTRTABSIZE | 160 | #ifndef MINSTRTABSIZE |
167 | #define MINSTRTABSIZE 32 | 161 | #define MINSTRTABSIZE 32 |
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 1.161 2003/05/14 21:10:07 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 1.162 2003/07/09 12:08:43 roberto Exp roberto $ |
3 | ** Internal Module for Debugging of the Lua Implementation | 3 | ** Internal Module for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -246,7 +246,6 @@ static int get_limits (lua_State *L) { | |||
246 | setnameval(L, "BITS_INT", BITS_INT); | 246 | setnameval(L, "BITS_INT", BITS_INT); |
247 | setnameval(L, "LFPF", LFIELDS_PER_FLUSH); | 247 | setnameval(L, "LFPF", LFIELDS_PER_FLUSH); |
248 | setnameval(L, "MAXVARS", MAXVARS); | 248 | setnameval(L, "MAXVARS", MAXVARS); |
249 | setnameval(L, "MAXPARAMS", MAXPARAMS); | ||
250 | setnameval(L, "MAXSTACK", MAXSTACK); | 249 | setnameval(L, "MAXSTACK", MAXSTACK); |
251 | setnameval(L, "MAXUPVALUES", MAXUPVALUES); | 250 | setnameval(L, "MAXUPVALUES", MAXUPVALUES); |
252 | return 1; | 251 | return 1; |