diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-02-17 17:20:00 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-02-17 17:20:00 -0200 |
commit | 49dae52d0808776f5861eb33efa1d13b05e44512 (patch) | |
tree | 6f2f5578539ff00b6957522e3909293ce6de58ee /ltm.h | |
parent | 104d249ffbf76828caa5e204979f5ddad45f2bcb (diff) | |
download | lua-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | ||
81 | LUAI_FUNC void luaT_adjustvarargs (lua_State *L, int nfixparams, | 81 | LUAI_FUNC void luaT_adjustvarargs (lua_State *L, int nfixparams, |
82 | struct CallInfo *ci); | 82 | struct CallInfo *ci, Proto *p); |
83 | LUAI_FUNC void luaT_getvarargs (lua_State *L, struct CallInfo *ci, | 83 | LUAI_FUNC void luaT_getvarargs (lua_State *L, struct CallInfo *ci, |
84 | StkId where, int wanted); | 84 | StkId where, int wanted); |
85 | 85 | ||