set/getenvtable' -> set/getfenv'

This commit is contained in:
Roberto Ierusalimschy
2003-02-24 13:54:20 -03:00
parent 07e210e655
commit 5cd99b82b7
3 changed files with 18 additions and 18 deletions

6
lapi.c
View File

@@ -1,5 +1,5 @@
/*
** $Id: lapi.c,v 1.229 2003/02/18 16:13:15 roberto Exp roberto $
** $Id: lapi.c,v 1.230 2003/02/20 19:33:23 roberto Exp roberto $
** Lua API
** See Copyright Notice in lua.h
*/
@@ -542,7 +542,7 @@ LUA_API int lua_getmetatable (lua_State *L, int objindex) {
}
LUA_API void lua_getenvtable (lua_State *L, int index) {
LUA_API void lua_getfenv (lua_State *L, int index) {
StkId o;
lua_lock(L);
o = luaA_index(L, index);
@@ -620,7 +620,7 @@ LUA_API int lua_setmetatable (lua_State *L, int objindex) {
}
LUA_API int lua_setenvtable (lua_State *L, int index) {
LUA_API int lua_setfenv (lua_State *L, int index) {
StkId o;
int res = 0;
lua_lock(L);