mirror of
https://github.com/lua/lua
synced 2025-01-19 07:39:18 +03:00
new name for globaltable.
This commit is contained in:
parent
44eb7d91ac
commit
4365c31c89
4
ltests.c
4
ltests.c
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
** $Id: ltests.c,v 1.32 2000/08/08 20:42:07 roberto Exp roberto $
|
** $Id: ltests.c,v 1.33 2000/08/09 19:16:57 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
|
||||||
*/
|
*/
|
||||||
@ -315,7 +315,7 @@ static void testC (void) {
|
|||||||
lua_setglobal(getname(&pc));
|
lua_setglobal(getname(&pc));
|
||||||
}
|
}
|
||||||
else if EQ("pushglobals") {
|
else if EQ("pushglobals") {
|
||||||
lua_pushglobaltable();
|
lua_pushglobals();
|
||||||
}
|
}
|
||||||
else if EQ("pushstring") {
|
else if EQ("pushstring") {
|
||||||
lua_pushstring(getname(&pc));
|
lua_pushstring(getname(&pc));
|
||||||
|
Loading…
Reference in New Issue
Block a user