diff options
Diffstat (limited to 'lapi.c')
| -rw-r--r-- | lapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1207,7 +1207,7 @@ LUA_API int lua_next (lua_State *L, int idx) { | |||
| 1207 | } | 1207 | } |
| 1208 | 1208 | ||
| 1209 | 1209 | ||
| 1210 | LUA_API void lua_tobeclosed (lua_State *L) { | 1210 | LUA_API void lua_toclose (lua_State *L) { |
| 1211 | int nresults = L->ci->nresults; | 1211 | int nresults = L->ci->nresults; |
| 1212 | luaF_newtbcupval(L, L->top - 1); /* create new to-be-closed upvalue */ | 1212 | luaF_newtbcupval(L, L->top - 1); /* create new to-be-closed upvalue */ |
| 1213 | if (!hastocloseCfunc(nresults)) /* function not marked yet? */ | 1213 | if (!hastocloseCfunc(nresults)) /* function not marked yet? */ |
