yielding across lua_call (first version)

This commit is contained in:
Roberto Ierusalimschy
2009-03-10 14:14:37 -03:00
parent f9d015523e
commit ba484b9eb1
13 changed files with 170 additions and 111 deletions

4
lgc.c
View File

@@ -1,5 +1,5 @@
/*
** $Id: lgc.c,v 2.47 2008/06/26 19:42:45 roberto Exp roberto $
** $Id: lgc.c,v 2.48 2009/02/17 19:47:58 roberto Exp roberto $
** Garbage Collector
** See Copyright Notice in lua.h
*/
@@ -601,7 +601,7 @@ static Udata *udata2finalize (global_State *g) {
static void dothecall (lua_State *L, void *ud) {
UNUSED(ud);
luaD_call(L, L->top - 2, 0);
luaD_call(L, L->top - 2, 0, 0);
}