aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
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 3b0d13a9..63d5e183 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 2.131 2010/06/04 13:05:29 roberto Exp roberto $ 2** $Id: lapi.c,v 2.132 2010/07/02 17:35:06 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*/
@@ -644,7 +644,7 @@ LUA_API int lua_getmetatable (lua_State *L, int objindex) {
644} 644}
645 645
646 646
647LUA_API void lua_getenv (lua_State *L, int idx) { 647LUA_API void lua_getuservalue (lua_State *L, int idx) {
648 StkId o; 648 StkId o;
649 lua_lock(L); 649 lua_lock(L);
650 o = index2addr(L, idx); 650 o = index2addr(L, idx);
@@ -754,7 +754,7 @@ LUA_API int lua_setmetatable (lua_State *L, int objindex) {
754} 754}
755 755
756 756
757LUA_API void lua_setenv (lua_State *L, int idx) { 757LUA_API void lua_setuservalue (lua_State *L, int idx) {
758 StkId o; 758 StkId o;
759 lua_lock(L); 759 lua_lock(L);
760 api_checknelems(L, 1); 760 api_checknelems(L, 1);