lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.