diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-12-18 18:52:30 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-12-18 18:52:30 -0200 |
| commit | e04f7ed4509af1577c10ead8e5d7d55c65754bf8 (patch) | |
| tree | 36cfd31846b6f49c505adfbd1311ed1794689127 /lapi.c | |
| parent | 101cee3032918bae8a5fa9dfc334c478c4aa15f6 (diff) | |
| download | lua-e04f7ed4509af1577c10ead8e5d7d55c65754bf8.tar.gz lua-e04f7ed4509af1577c10ead8e5d7d55c65754bf8.tar.bz2 lua-e04f7ed4509af1577c10ead8e5d7d55c65754bf8.zip | |
first version of Lua "stackless"
Diffstat (limited to 'lapi.c')
| -rw-r--r-- | lapi.c | 4 |
1 files changed, 1 insertions, 3 deletions
| @@ -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 | ||
