lua-users home
lua-l archive

small error in lua 5.2 beta document

[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

AltStyle によって変換されたページ (->オリジナル) /