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

Function callTMres

lua/lvm.c:81–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79
80
81static void callTMres (lua_State *L, StkId res, const TValue *f,
82 const TValue *p1, const TValue *p2) {
83 ptrdiff_t result = savestack(L, res);
84 setobj2s(L, L->top, f); /* push function */
85 setobj2s(L, L->top+1, p1); /* 1st argument */
86 setobj2s(L, L->top+2, p2); /* 2nd argument */
87 luaD_checkstack(L, 3);
88 L->top += 3;
89 luaD_call(L, L->top - 3, 1);
90 res = restorestack(L, result);
91 L->top--;
92 setobjs2s(L, res, L->top);
93}
94
95
96

Callers 5

luaV_gettableFunction · 0.85
call_binTMFunction · 0.85
call_orderTMFunction · 0.85
udatacompareFunction · 0.85
luaV_equalvalFunction · 0.85

Calls 1

luaD_callFunction · 0.85

Tested by

no test coverage detected