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

Function luaB_pcall

third-party/lua-5.5.0/src/lbaselib.c:482–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480
481
482static int luaB_pcall (lua_State *L) {
483 int status;
484 luaL_checkany(L, 1);
485 lua_pushboolean(L, 1); /* first result if no errors */
486 lua_insert(L, 1); /* put it in place */
487 status = lua_pcallk(L, lua_gettop(L) - 2, LUA_MULTRET, 0, 0, finishpcall);
488 return finishpcall(L, status, 0);
489}
490
491
492/*

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