diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-09-27 15:59:08 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-09-27 15:59:08 -0300 |
commit | 1b100335839e13021b4731f0407b87e4f7544dc0 (patch) | |
tree | 085979000de158de7d034c34d208b1318bbea90f /ltm.h | |
parent | 00e728af885d2781e365071557530a6685110d7e (diff) | |
download | lua-1b100335839e13021b4731f0407b87e4f7544dc0.tar.gz lua-1b100335839e13021b4731f0407b87e4f7544dc0.tar.bz2 lua-1b100335839e13021b4731f0407b87e4f7544dc0.zip |
new function 'luaT_trybiniTM'
to handle tag methods for instructions with immediate integer arguments
Diffstat (limited to 'ltm.h')
-rw-r--r-- | ltm.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.h,v 2.24 2017/05/13 12:57:20 roberto Exp roberto $ | 2 | ** $Id: ltm.h,v 2.25 2017/06/29 15:06:44 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 | */ |
@@ -68,6 +68,8 @@ LUAI_FUNC void luaT_callTMres (lua_State *L, const TValue *f, | |||
68 | const TValue *p1, const TValue *p2, StkId p3); | 68 | const TValue *p1, const TValue *p2, StkId p3); |
69 | LUAI_FUNC void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, | 69 | LUAI_FUNC void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, |
70 | StkId res, TMS event); | 70 | StkId res, TMS event); |
71 | LUAI_FUNC void luaT_trybiniTM (lua_State *L, const TValue *p1, int i2, | ||
72 | int inv, StkId res, TMS event); | ||
71 | LUAI_FUNC int luaT_callorderTM (lua_State *L, const TValue *p1, | 73 | LUAI_FUNC int luaT_callorderTM (lua_State *L, const TValue *p1, |
72 | const TValue *p2, TMS event); | 74 | const TValue *p2, TMS event); |
73 | 75 | ||