aboutsummaryrefslogtreecommitdiff
path: root/ltm.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-02-17 17:20:00 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-02-17 17:20:00 -0200
commit49dae52d0808776f5861eb33efa1d13b05e44512 (patch)
tree6f2f5578539ff00b6957522e3909293ce6de58ee /ltm.h
parent104d249ffbf76828caa5e204979f5ddad45f2bcb (diff)
downloadlua-49dae52d0808776f5861eb33efa1d13b05e44512.tar.gz
lua-49dae52d0808776f5861eb33efa1d13b05e44512.tar.bz2
lua-49dae52d0808776f5861eb33efa1d13b05e44512.zip
correct way to check stack space for vararg functions
Diffstat (limited to 'ltm.h')
-rw-r--r--ltm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltm.h b/ltm.h
index 54cece9e..dbb21bd5 100644
--- a/ltm.h
+++ b/ltm.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltm.h,v 2.30 2018/02/07 15:18:04 roberto Exp roberto $ 2** $Id: ltm.h,v 2.31 2018/02/09 15:16:06 roberto Exp roberto $
3** Tag methods 3** Tag methods
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -79,7 +79,7 @@ LUAI_FUNC int luaT_callorderiTM (lua_State *L, const TValue *p1, int v2,
79 int inv, TMS event); 79 int inv, TMS event);
80 80
81LUAI_FUNC void luaT_adjustvarargs (lua_State *L, int nfixparams, 81LUAI_FUNC void luaT_adjustvarargs (lua_State *L, int nfixparams,
82 struct CallInfo *ci); 82 struct CallInfo *ci, Proto *p);
83LUAI_FUNC void luaT_getvarargs (lua_State *L, struct CallInfo *ci, 83LUAI_FUNC void luaT_getvarargs (lua_State *L, struct CallInfo *ci,
84 StkId where, int wanted); 84 StkId where, int wanted);
85 85