| 94 | |
| 95 | |
| 96 | static void callTM (lua_State *L, const TValue *f, const TValue *p1, |
| 97 | const TValue *p2, const TValue *p3) { |
| 98 | setobj2s(L, L->top, f); /* push function */ |
| 99 | setobj2s(L, L->top+1, p1); /* 1st argument */ |
| 100 | setobj2s(L, L->top+2, p2); /* 2nd argument */ |
| 101 | setobj2s(L, L->top+3, p3); /* 3th argument */ |
| 102 | luaD_checkstack(L, 4); |
| 103 | L->top += 4; |
| 104 | luaD_call(L, L->top - 4, 0); |
| 105 | } |
| 106 | |
| 107 | |
| 108 | void luaV_gettable (lua_State *L, const TValue *t, TValue *key, StkId val) { |
no test coverage detected