diff options
Diffstat (limited to 'ldo.c')
| -rw-r--r-- | ldo.c | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldo.c,v 2.124 2014/06/30 19:48:08 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 2.125 2014/07/15 21:26:50 roberto Exp roberto $ |
| 3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -593,7 +593,8 @@ LUA_API int lua_isyieldable (lua_State *L) { | |||
| 593 | } | 593 | } |
| 594 | 594 | ||
| 595 | 595 | ||
| 596 | LUA_API int lua_yieldk (lua_State *L, int nresults, int ctx, lua_KFunction k) { | 596 | LUA_API int lua_yieldk (lua_State *L, int nresults, lua_Ctx ctx, |
| 597 | lua_KFunction k) { | ||
| 597 | CallInfo *ci = L->ci; | 598 | CallInfo *ci = L->ci; |
| 598 | luai_userstateyield(L, nresults); | 599 | luai_userstateyield(L, nresults); |
| 599 | lua_lock(L); | 600 | lua_lock(L); |
