MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / findpcall

Function findpcall

3rd/lua-5.4.3/src/ldo.c:695–702  ·  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

693** given thread.
694*/
695static CallInfo *findpcall (lua_State *L) {
696 CallInfo *ci;
697 for (ci = L->ci; ci != NULL; ci = ci->previous) { /* search for a pcall */
698 if (ci->callstatus & CIST_YPCALL)
699 return ci;
700 }
701 return NULL; /* no pending pcall */
702}
703
704
705/*

Callers 1

precoverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected