MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / checkCclosure

Function checkCclosure

Dependencies/lua/src/ltests.c:406–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404
405
406static void checkCclosure (global_State *g, CClosure *cl) {
407 GCObject *clgc = obj2gco(cl);
408 int i;
409 for (i = 0; i < cl->nupvalues; i++)
410 checkvalref(g, clgc, &cl->upvalue[i]);
411}
412
413
414static void checkLclosure (global_State *g, LClosure *cl) {

Callers 1

checkrefsFunction · 0.85

Calls 1

checkvalrefFunction · 0.85

Tested by

no test coverage detected