diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-09 17:10:48 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-09 17:10:48 -0200 |
commit | 7fe405739cebfa49e91683a3bdf23dd241c8808e (patch) | |
tree | 268ab7bc790ee142f143b2e17ba6fab5db42d010 /lapi.c | |
parent | 1ce819333d3f02d14d983dbddb236e72d4555c7f (diff) | |
download | lua-7fe405739cebfa49e91683a3bdf23dd241c8808e.tar.gz lua-7fe405739cebfa49e91683a3bdf23dd241c8808e.tar.bz2 lua-7fe405739cebfa49e91683a3bdf23dd241c8808e.zip |
renaming: 'lua_upvaladdr' -> 'lua_upvalueid',
'lua_upvaljoin' -> 'lua_upvaluejoin'
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 2.98 2009/11/09 18:29:21 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.99 2009/11/09 18:55:17 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 | */ |
@@ -1108,7 +1108,7 @@ static UpVal **getupvalref (lua_State *L, int fidx, int n, Closure **pf) { | |||
1108 | } | 1108 | } |
1109 | 1109 | ||
1110 | 1110 | ||
1111 | LUA_API void *(lua_upvaladdr) (lua_State *L, int fidx, int n) { | 1111 | LUA_API void *(lua_upvalueid) (lua_State *L, int fidx, int n) { |
1112 | Closure *f; | 1112 | Closure *f; |
1113 | StkId fi = index2addr(L, fidx); | 1113 | StkId fi = index2addr(L, fidx); |
1114 | api_check(L, ttisfunction(fi), "function expected"); | 1114 | api_check(L, ttisfunction(fi), "function expected"); |
@@ -1121,7 +1121,7 @@ LUA_API void *(lua_upvaladdr) (lua_State *L, int fidx, int n) { | |||
1121 | } | 1121 | } |
1122 | 1122 | ||
1123 | 1123 | ||
1124 | LUA_API void (lua_upvaljoin) (lua_State *L, int fidx1, int n1, | 1124 | LUA_API void (lua_upvaluejoin) (lua_State *L, int fidx1, int n1, |
1125 | int fidx2, int n2) { | 1125 | int fidx2, int n2) { |
1126 | Closure *f1; | 1126 | Closure *f1; |
1127 | UpVal **up1 = getupvalref(L, fidx1, n1, &f1); | 1127 | UpVal **up1 = getupvalref(L, fidx1, n1, &f1); |