MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / findpcall

Function findpcall

lib/lua/src/ldo.c:754–761  ·  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

752** given thread.
753*/
754static CallInfo *findpcall (lua_State *L) {
755 CallInfo *ci;
756 for (ci = L->ci; ci != NULL; ci = ci->previous) { /* search for a pcall */
757 if (ci->callstatus & CIST_YPCALL)
758 return ci;
759 }
760 return NULL; /* no pending pcall */
761}
762
763
764/*

Callers 1

precoverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected