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

Function luaB_pcall

third-party/lua-5.4.6/src/lbaselib.c:472–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470
471
472static int luaB_pcall (lua_State *L) {
473 int status;
474 luaL_checkany(L, 1);
475 lua_pushboolean(L, 1); /* first result if no errors */
476 lua_insert(L, 1); /* put it in place */
477 status = lua_pcallk(L, lua_gettop(L) - 2, LUA_MULTRET, 0, 0, finishpcall);
478 return finishpcall(L, status, 0);
479}
480
481
482/*

Callers

nothing calls this directly

Calls 6

luaL_checkanyFunction · 0.70
lua_pushbooleanFunction · 0.70
lua_pcallkFunction · 0.70
lua_gettopFunction · 0.70
finishpcallFunction · 0.70
lua_insertFunction · 0.50

Tested by

no test coverage detected