diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-15 17:14:27 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-15 17:14:27 -0300 |
commit | 4365c31c89666bae24afd800ac3251527d9dc9c8 (patch) | |
tree | 6989ce9a5c1874fc35be71887763521e09ce985a | |
parent | 44eb7d91ac24db572a50ccca388a401cbdfd6fe0 (diff) | |
download | lua-4365c31c89666bae24afd800ac3251527d9dc9c8.tar.gz lua-4365c31c89666bae24afd800ac3251527d9dc9c8.tar.bz2 lua-4365c31c89666bae24afd800ac3251527d9dc9c8.zip |
new name for globaltable.
-rw-r--r-- | ltests.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 1.32 2000/08/08 20:42:07 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 1.33 2000/08/09 19:16:57 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 | */ |
@@ -315,7 +315,7 @@ static void testC (void) { | |||
315 | lua_setglobal(getname(&pc)); | 315 | lua_setglobal(getname(&pc)); |
316 | } | 316 | } |
317 | else if EQ("pushglobals") { | 317 | else if EQ("pushglobals") { |
318 | lua_pushglobaltable(); | 318 | lua_pushglobals(); |
319 | } | 319 | } |
320 | else if EQ("pushstring") { | 320 | else if EQ("pushstring") { |
321 | lua_pushstring(getname(&pc)); | 321 | lua_pushstring(getname(&pc)); |