diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-11-05 09:59:14 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-11-05 09:59:14 -0200 |
| commit | fa198197a0202bd3a7b68d228cd1c2fd88166ff7 (patch) | |
| tree | 536f37e38fb5e80fa580c42f2d09d6e10410e075 /ltests.c | |
| parent | 1e944de6cb6a20f6abeaab6f5d1039d06d8d2812 (diff) | |
| download | lua-fa198197a0202bd3a7b68d228cd1c2fd88166ff7.tar.gz lua-fa198197a0202bd3a7b68d228cd1c2fd88166ff7.tar.bz2 lua-fa198197a0202bd3a7b68d228cd1c2fd88166ff7.zip | |
lua_(set)getglobal are ok to use
Diffstat (limited to 'ltests.c')
| -rw-r--r-- | ltests.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltests.c,v 1.166 2003/10/10 13:29:08 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 1.167 2003/10/20 12:25:23 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 | */ |
| @@ -241,6 +241,7 @@ static int get_limits (lua_State *L) { | |||
| 241 | setnameval(L, "MAXVARS", MAXVARS); | 241 | setnameval(L, "MAXVARS", MAXVARS); |
| 242 | setnameval(L, "MAXSTACK", MAXSTACK); | 242 | setnameval(L, "MAXSTACK", MAXSTACK); |
| 243 | setnameval(L, "MAXUPVALUES", MAXUPVALUES); | 243 | setnameval(L, "MAXUPVALUES", MAXUPVALUES); |
| 244 | setnameval(L, "NUM_OPCODES", NUM_OPCODES); | ||
| 244 | return 1; | 245 | return 1; |
| 245 | } | 246 | } |
| 246 | 247 | ||
