diff options
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 | ||
545 | LUA_API void lua_getglobals (lua_State *L, int index) { | 545 | LUA_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 | ||
623 | LUA_API int lua_setglobals (lua_State *L, int index) { | 623 | LUA_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); |