lua-users home
lua-l archive

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


int lua_yieldk  (lua_State *L, int nresults, int ctx, lua_CFunction k);
Yields a coroutine.

This function should only be called as the return expression of a C
function, as follows:

--->     return lua_yield (L, nresults, i, k);

I guess it should be

   return lua_yieldk(L, n results, i, k);


-- 
http://blog.codingnow.com