From 89110986d7a9e81960261ae682780d5fd06dc4ac Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sun, 28 Jan 2018 11:39:52 -0200 Subject: bug in tailcall of vararg functions (when adjusting missing parameters) --- ltm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltm.h') diff --git a/ltm.h b/ltm.h index 34dbc82c..fbba067a 100644 --- a/ltm.h +++ b/ltm.h @@ -1,5 +1,5 @@ /* -** $Id: ltm.h,v 2.27 2017/11/27 17:44:31 roberto Exp roberto $ +** $Id: ltm.h,v 2.28 2017/12/13 18:32:09 roberto Exp roberto $ ** Tag methods ** See Copyright Notice in lua.h */ @@ -77,7 +77,7 @@ LUAI_FUNC int luaT_callorderTM (lua_State *L, const TValue *p1, 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, Proto *p, int actual); +LUAI_FUNC void luaT_adjustvarargs (lua_State *L, int nfixparams, int actual); LUAI_FUNC void luaT_getvarargs (lua_State *L, TValue *t, StkId where, int wanted); -- cgit v1.2.3-55-g6feb