[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Behavior of lua_resume() in Lua 5.4
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sat, 12 Oct 2019 18:39:11 -0300
> [...] Regarding the last question, the manual says:
>
> "To resume a coroutine, you clear its stack, push only the values to be passed as results from yield, and then call lua_resume."
>
> This sentence has, by the way, not changed compared to Lua 5.3. It made
> perfect sense back then, but now, in combination with this nresults thing, it
> doesn't make much sense to me. [...]
That sentence should have been updated too. Thanks for pointing this out.
-- Roberto