small error in lua 5.2 beta document
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: small error in lua 5.2 beta document
- From: 云风 <cloudwu@...>
- Date: Tue, 9 Aug 2011 14:46:24 +0800
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