diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-01-08 13:16:56 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-01-08 13:16:56 -0200 |
commit | f75be1cb28646e19f8a443a1dab4691f4d9112cf (patch) | |
tree | 12d0c4216f5f761ea1869f1375199e3dd46ad54b /lapi.c | |
parent | 16d2ad88fe9a89fad4645f85e28d66e999b542b9 (diff) | |
download | lua-f75be1cb28646e19f8a443a1dab4691f4d9112cf.tar.gz lua-f75be1cb28646e19f8a443a1dab4691f4d9112cf.tar.bz2 lua-f75be1cb28646e19f8a443a1dab4691f4d9112cf.zip |
removed parentheses around some function names in their definitions
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.107 2009/12/22 16:47:00 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.108 2010/01/04 18:17:51 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 | */ |
@@ -1127,7 +1127,7 @@ static UpVal **getupvalref (lua_State *L, int fidx, int n, Closure **pf) { | |||
1127 | } | 1127 | } |
1128 | 1128 | ||
1129 | 1129 | ||
1130 | LUA_API void *(lua_upvalueid) (lua_State *L, int fidx, int n) { | 1130 | LUA_API void *lua_upvalueid (lua_State *L, int fidx, int n) { |
1131 | Closure *f; | 1131 | Closure *f; |
1132 | StkId fi = index2addr(L, fidx); | 1132 | StkId fi = index2addr(L, fidx); |
1133 | api_check(L, ttisfunction(fi), "function expected"); | 1133 | api_check(L, ttisfunction(fi), "function expected"); |
@@ -1140,7 +1140,7 @@ LUA_API void *(lua_upvalueid) (lua_State *L, int fidx, int n) { | |||
1140 | } | 1140 | } |
1141 | 1141 | ||
1142 | 1142 | ||
1143 | LUA_API void (lua_upvaluejoin) (lua_State *L, int fidx1, int n1, | 1143 | LUA_API void lua_upvaluejoin (lua_State *L, int fidx1, int n1, |
1144 | int fidx2, int n2) { | 1144 | int fidx2, int n2) { |
1145 | Closure *f1; | 1145 | Closure *f1; |
1146 | UpVal **up1 = getupvalref(L, fidx1, n1, &f1); | 1146 | UpVal **up1 = getupvalref(L, fidx1, n1, &f1); |