MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / findpcall

Function findpcall

extlibs/lua/src/ldo.c:584–591  ·  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

582** given thread.
583*/
584static CallInfo *findpcall (lua_State *L) {
585 CallInfo *ci;
586 for (ci = L->ci; ci != NULL; ci = ci->previous) { /* search for a pcall */
587 if (ci->callstatus & CIST_YPCALL)
588 return ci;
589 }
590 return NULL; /* no pending pcall */
591}
592
593
594/*

Callers 1

recoverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected