MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / lua_call

Function lua_call

third-party/lua-5.1.5/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

luaL_openlibsFunction · 0.70
tracebackFunction · 0.70
luaB_printFunction · 0.70
generic_readerFunction · 0.70
luaB_dofileFunction · 0.70
add_valueFunction · 0.70
luaL_callmetaFunction · 0.70
foreachiFunction · 0.70
foreachFunction · 0.70
sort_compFunction · 0.70
ll_requireFunction · 0.70
dooptionsFunction · 0.70

Calls 1

luaD_callFunction · 0.70

Tested by

no test coverage detected