From 49dae52d0808776f5861eb33efa1d13b05e44512 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sat, 17 Feb 2018 17:20:00 -0200 Subject: correct way to check stack space for vararg functions --- ltm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltm.h') diff --git a/ltm.h b/ltm.h index 54cece9e..dbb21bd5 100644 --- a/ltm.h +++ b/ltm.h @@ -1,5 +1,5 @@ /* -** $Id: ltm.h,v 2.30 2018/02/07 15:18:04 roberto Exp roberto $ +** $Id: ltm.h,v 2.31 2018/02/09 15:16:06 roberto Exp roberto $ ** Tag methods ** See Copyright Notice in lua.h */ @@ -79,7 +79,7 @@ LUAI_FUNC int luaT_callorderiTM (lua_State *L, const TValue *p1, int v2, int inv, TMS event); LUAI_FUNC void luaT_adjustvarargs (lua_State *L, int nfixparams, - struct CallInfo *ci); + struct CallInfo *ci, Proto *p); LUAI_FUNC void luaT_getvarargs (lua_State *L, struct CallInfo *ci, StkId where, int wanted); -- cgit v1.2.3-55-g6feb