[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Yield & resume
- From: Olivier Galibert <galibert@...>
- Date: Thu, 29 Nov 2007 19:13:58 +0100
On Thu, Nov 29, 2007 at 05:27:38PM +0300, Sobolev wrote:
> As far as I understand it is possible to yield Lua 5.1.2 script
> execution by returning -1 from function written in C.
That should be:
return lua_yield(L, nresults);
and not return -1 directly.
> Is it possible to
> resume script execution? Which function should be called to resume script?
lua_resume
OG.