aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-12-18 18:52:30 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-12-18 18:52:30 -0200
commite04f7ed4509af1577c10ead8e5d7d55c65754bf8 (patch)
tree36cfd31846b6f49c505adfbd1311ed1794689127 /lapi.c
parent101cee3032918bae8a5fa9dfc334c478c4aa15f6 (diff)
downloadlua-e04f7ed4509af1577c10ead8e5d7d55c65754bf8.tar.gz
lua-e04f7ed4509af1577c10ead8e5d7d55c65754bf8.tar.bz2
lua-e04f7ed4509af1577c10ead8e5d7d55c65754bf8.zip
first version of Lua "stackless"
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lapi.c b/lapi.c
index 50578513..07f2cfb2 100644
--- a/lapi.c
+++ b/lapi.c
@@ -517,9 +517,7 @@ LUA_API void lua_rawcall (lua_State *L, int nargs, int nresults) {
517 lua_lock(L); 517 lua_lock(L);
518 api_checknelems(L, nargs+1); 518 api_checknelems(L, nargs+1);
519 func = L->top - (nargs+1); 519 func = L->top - (nargs+1);
520 luaD_call(L, func); 520 luaD_call(L, func, nresults);
521 if (nresults != LUA_MULTRET)
522 luaD_adjusttop(L, func + nresults);
523 lua_unlock(L); 521 lua_unlock(L);
524} 522}
525 523