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

Function findpcall

third-party/lua-5.5.0/src/ldo.c:884–891  ·  view source on GitHub ↗

** Try to find a suspended protected call (a "recover point") for the ** given thread. */

Source from the content-addressed store, hash-verified

882** given thread.
883*/
884static CallInfo *findpcall (lua_State *L) {
885 CallInfo *ci;
886 for (ci = L->ci; ci != NULL; ci = ci->previous) { /* search for a pcall */
887 if (ci->callstatus & CIST_YPCALL)
888 return ci;
889 }
890 return NULL; /* no pending pcall */
891}
892
893
894/*

Callers 1

precoverFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected