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

Function luaB_pcall

third-party/lua-5.2.4/src/lbaselib.c:388–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386
387
388static int luaB_pcall (lua_State *L) {
389 int status;
390 luaL_checkany(L, 1);
391 lua_pushnil(L);
392 lua_insert(L, 1); /* create space for status result */
393 status = lua_pcallk(L, lua_gettop(L) - 2, LUA_MULTRET, 0, 0, pcallcont);
394 return finishpcall(L, (status == LUA_OK));
395}
396
397
398static int luaB_xpcall (lua_State *L) {

Callers

nothing calls this directly

Calls 6

luaL_checkanyFunction · 0.70
lua_pushnilFunction · 0.70
lua_insertFunction · 0.70
lua_pcallkFunction · 0.70
lua_gettopFunction · 0.70
finishpcallFunction · 0.70

Tested by

no test coverage detected