aboutsummaryrefslogtreecommitdiff
path: root/ltm.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-02-09 13:16:06 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-02-09 13:16:06 -0200
commitb1379936cf35787d3ef3aab82d1607a3e1562eef (patch)
treefe47cb5c35fddab945faf731f0bc175bf5431352 /ltm.h
parent4e0de3a43cc30a83334c272cb7575bf8412bfeae (diff)
downloadlua-b1379936cf35787d3ef3aab82d1607a3e1562eef.tar.gz
lua-b1379936cf35787d3ef3aab82d1607a3e1562eef.tar.bz2
lua-b1379936cf35787d3ef3aab82d1607a3e1562eef.zip
vararg back to '...' (but with another implementation)
new implementation should have zero overhead for non-vararg functions
Diffstat (limited to 'ltm.h')
-rw-r--r--ltm.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/ltm.h b/ltm.h
index a0f4f92e..54cece9e 100644
--- a/ltm.h
+++ b/ltm.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltm.h,v 2.29 2018/01/28 13:39:52 roberto Exp roberto $ 2** $Id: ltm.h,v 2.30 2018/02/07 15:18:04 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*/
@@ -9,6 +9,7 @@
9 9
10 10
11#include "lobject.h" 11#include "lobject.h"
12#include "lstate.h"
12 13
13 14
14/* 15/*
@@ -77,9 +78,10 @@ LUAI_FUNC int luaT_callorderTM (lua_State *L, const TValue *p1,
77LUAI_FUNC int luaT_callorderiTM (lua_State *L, const TValue *p1, int v2, 78LUAI_FUNC int luaT_callorderiTM (lua_State *L, const TValue *p1, int v2,
78 int inv, TMS event); 79 int inv, TMS event);
79 80
80LUAI_FUNC void luaT_adjustvarargs (lua_State *L, int nfixparams, StkId base); 81LUAI_FUNC void luaT_adjustvarargs (lua_State *L, int nfixparams,
81LUAI_FUNC void luaT_getvarargs (lua_State *L, TValue *t, StkId where, 82 struct CallInfo *ci);
82 int wanted); 83LUAI_FUNC void luaT_getvarargs (lua_State *L, struct CallInfo *ci,
84 StkId where, int wanted);
83 85
84 86
85#endif 87#endif