MCPcopy Create free account
hub / github.com/defold/defold / lua_call

Function lua_call

engine/lua/src/lua/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

LuaPrintFunction · 0.85
PushValueAsStringFunction · 0.85
ResolvePathFunction · 0.85
GetUserDataFunction · 0.85
IsValidInstanceFunction · 0.85
GetInstanceContextTableFunction · 0.85
CreateCallbackFunction · 0.85
IsCallbackInstanceValidFunction · 0.85
UserdataErrorFuncFunction · 0.85
NumberErrorFuncFunction · 0.85
AssertNilNilFuncFunction · 0.85

Calls 1

luaD_callFunction · 0.85

Tested by 4

UserdataErrorFuncFunction · 0.68
NumberErrorFuncFunction · 0.68
AssertNilNilFuncFunction · 0.68
DeepLuaErrorFuncFunction · 0.68