aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-02-18 13:13:15 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-02-18 13:13:15 -0300
commit9866fb0ef1bd40afe47dd2cffdea5e66f9c048c1 (patch)
tree23746ca83bf7b11d623b730028fb7364a76e9556 /lapi.c
parent60c83ded3080a23bc661ab440c36d0a71b399e2e (diff)
downloadlua-9866fb0ef1bd40afe47dd2cffdea5e66f9c048c1.tar.gz
lua-9866fb0ef1bd40afe47dd2cffdea5e66f9c048c1.tar.bz2
lua-9866fb0ef1bd40afe47dd2cffdea5e66f9c048c1.zip
`set/getglobals' -> `set/getenvtable'
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lapi.c b/lapi.c
index b413ada7..7114d1e5 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 1.227 2002/12/19 11:11:55 roberto Exp roberto $ 2** $Id: lapi.c,v 1.228 2003/02/11 10:46:24 roberto Exp roberto $
3** Lua API 3** Lua API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -542,7 +542,7 @@ LUA_API int lua_getmetatable (lua_State *L, int objindex) {
542} 542}
543 543
544 544
545LUA_API void lua_getglobals (lua_State *L, int index) { 545LUA_API void lua_getenvtable (lua_State *L, int index) {
546 StkId o; 546 StkId o;
547 lua_lock(L); 547 lua_lock(L);
548 o = luaA_index(L, index); 548 o = luaA_index(L, index);
@@ -620,7 +620,7 @@ LUA_API int lua_setmetatable (lua_State *L, int objindex) {
620} 620}
621 621
622 622
623LUA_API int lua_setglobals (lua_State *L, int index) { 623LUA_API int lua_setenvtable (lua_State *L, int index) {
624 StkId o; 624 StkId o;
625 int res = 0; 625 int res = 0;
626 lua_lock(L); 626 lua_lock(L);