aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2006-09-11 11:07:24 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2006-09-11 11:07:24 -0300
commita7c9e45c64a4bff9bdaf0d1177509bdd00fc53f7 (patch)
treef452f26770539293979a3dbd752ee0b38b849123 /lapi.c
parentcedd2092ebe402e0c6d600969ec926496a8a9d22 (diff)
downloadlua-a7c9e45c64a4bff9bdaf0d1177509bdd00fc53f7.tar.gz
lua-a7c9e45c64a4bff9bdaf0d1177509bdd00fc53f7.tar.bz2
lua-a7c9e45c64a4bff9bdaf0d1177509bdd00fc53f7.zip
avoid trailing white spaces
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 e992d27e..56e86d4a 100644
--- a/lapi.c
+++ b/lapi.c
@@ -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
752LUA_API void lua_call (lua_State *L, int nargs, int nresults) { 752LUA_API void lua_call (lua_State *L, int nargs, int nresults) {
753 StkId func; 753 StkId func;