diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2006-09-11 11:07:24 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2006-09-11 11:07:24 -0300 |
commit | a7c9e45c64a4bff9bdaf0d1177509bdd00fc53f7 (patch) | |
tree | f452f26770539293979a3dbd752ee0b38b849123 /lapi.c | |
parent | cedd2092ebe402e0c6d600969ec926496a8a9d22 (diff) | |
download | lua-a7c9e45c64a4bff9bdaf0d1177509bdd00fc53f7.tar.gz lua-a7c9e45c64a4bff9bdaf0d1177509bdd00fc53f7.tar.bz2 lua-a7c9e45c64a4bff9bdaf0d1177509bdd00fc53f7.zip |
avoid trailing white spaces
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.55 2006/06/07 12:37:17 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.56 2006/07/11 15:53:29 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 | */ |
@@ -185,7 +185,7 @@ LUA_API void lua_replace (lua_State *L, int idx) { | |||
185 | api_checkvalidindex(L, o); | 185 | api_checkvalidindex(L, o); |
186 | if (idx == LUA_ENVIRONINDEX) { | 186 | if (idx == LUA_ENVIRONINDEX) { |
187 | Closure *func = curr_func(L); | 187 | Closure *func = curr_func(L); |
188 | api_check(L, ttistable(L->top - 1)); | 188 | api_check(L, ttistable(L->top - 1)); |
189 | func->c.env = hvalue(L->top - 1); | 189 | func->c.env = hvalue(L->top - 1); |
190 | luaC_barrier(L, func, L->top - 1); | 190 | luaC_barrier(L, func, L->top - 1); |
191 | } | 191 | } |
@@ -747,7 +747,7 @@ LUA_API int lua_setfenv (lua_State *L, int idx) { | |||
747 | 747 | ||
748 | #define checkresults(L,na,nr) \ | 748 | #define checkresults(L,na,nr) \ |
749 | api_check(L, (nr) == LUA_MULTRET || (L->ci->top - L->top >= (nr) - (na))) | 749 | api_check(L, (nr) == LUA_MULTRET || (L->ci->top - L->top >= (nr) - (na))) |
750 | 750 | ||
751 | 751 | ||
752 | LUA_API void lua_call (lua_State *L, int nargs, int nresults) { | 752 | LUA_API void lua_call (lua_State *L, int nargs, int nresults) { |
753 | StkId func; | 753 | StkId func; |