aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ldo.c b/ldo.c
index 1a49ceda..a9daeadb 100644
--- a/ldo.c
+++ b/ldo.c
@@ -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
596LUA_API int lua_yieldk (lua_State *L, int nresults, int ctx, lua_KFunction k) { 596LUA_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);