From ff1289a361eb2b077d0df83eaed21647444541ef Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 2 Nov 2015 16:48:07 -0200 Subject: in 'luaD_call', use two functions instead of one with fixed boolean argument --- ldo.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ldo.h') diff --git a/ldo.h b/ldo.h index 31986dc0..de6988fd 100644 --- a/ldo.h +++ b/ldo.h @@ -1,5 +1,5 @@ /* -** $Id: ldo.h,v 2.23 2015/10/21 18:40:47 roberto Exp roberto $ +** $Id: ldo.h,v 2.24 2015/11/02 16:09:30 roberto Exp roberto $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ @@ -40,8 +40,8 @@ LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name, const char *mode); LUAI_FUNC void luaD_hook (lua_State *L, int event, int line); LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults); -LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults, - int allowyield); +LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); +LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults); LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u, ptrdiff_t oldtop, ptrdiff_t ef); LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult, int nres); -- cgit v1.2.3-55-g6feb