MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / lua_call

Function lua_call

deps/lua/src/lapi.c:776–785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

774
775
776LUA_API void lua_call (lua_State *L, int nargs, int nresults) {
777 StkId func;
778 lua_lock(L);
779 api_checknelems(L, nargs+1);
780 checkresults(L, nargs, nresults);
781 func = L->top - (nargs+1);
782 luaD_call(L, func, nresults);
783 adjustresults(L, nresults);
784 lua_unlock(L);
785}
786
787
788

Callers 15

luaSortArrayFunction · 0.85
luaLoadLibFunction · 0.85
luaL_openlibsFunction · 0.85
tracebackFunction · 0.85
luaB_printFunction · 0.85
generic_readerFunction · 0.85
luaB_dofileFunction · 0.85
add_valueFunction · 0.85
luaL_callmetaFunction · 0.85
foreachiFunction · 0.85
foreachFunction · 0.85
sort_compFunction · 0.85

Calls 1

luaD_callFunction · 0.85

Tested by

no test coverage detected