From 1b100335839e13021b4731f0407b87e4f7544dc0 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 27 Sep 2017 15:59:08 -0300 Subject: new function 'luaT_trybiniTM' to handle tag methods for instructions with immediate integer arguments --- ltm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ltm.h') diff --git a/ltm.h b/ltm.h index c98b1037..31454a5c 100644 --- a/ltm.h +++ b/ltm.h @@ -1,5 +1,5 @@ /* -** $Id: ltm.h,v 2.24 2017/05/13 12:57:20 roberto Exp roberto $ +** $Id: ltm.h,v 2.25 2017/06/29 15:06:44 roberto Exp roberto $ ** Tag methods ** See Copyright Notice in lua.h */ @@ -68,6 +68,8 @@ LUAI_FUNC void luaT_callTMres (lua_State *L, const TValue *f, const TValue *p1, const TValue *p2, StkId p3); LUAI_FUNC void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, StkId res, TMS event); +LUAI_FUNC void luaT_trybiniTM (lua_State *L, const TValue *p1, int i2, + int inv, StkId res, TMS event); LUAI_FUNC int luaT_callorderTM (lua_State *L, const TValue *p1, const TValue *p2, TMS event); -- cgit v1.2.3-55-g6feb