MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / callTM

Function callTM

lua/lvm.c:97–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

luaV_settableFunction · 0.85

Calls 1

luaD_callFunction · 0.85

Tested by

no test coverage detected