MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / callTM

Function callTM

Source/Misc/lua/src/lua.c:14929–14938  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14927
14928
14929static void callTM (lua_State *L, const TValue *f, const TValue *p1,
14930const TValue *p2, const TValue *p3) {
14931setobj2s(L, L->top, f); /* push function */
14932setobj2s(L, L->top+1, p1); /* 1st argument */
14933setobj2s(L, L->top+2, p2); /* 2nd argument */
14934setobj2s(L, L->top+3, p3); /* 3th argument */
14935luaD_checkstack(L, 4);
14936L->top += 4;
14937luaD_call(L, L->top - 4, 0);
14938}
14939
14940
14941void 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