MCPcopy Create free account
hub / github.com/DFHack/dfhack / traverseCclosure

Function traverseCclosure

depends/lua/src/lgc.c:501–506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

499
500
501static lu_mem traverseCclosure (global_State *g, CClosure *cl) {
502 int i;
503 for (i = 0; i < cl->nupvalues; i++) /* mark its upvalues */
504 markvalue(g, &cl->upvalue[i]);
505 return sizeCclosure(cl->nupvalues);
506}
507
508/*
509** open upvalues point to values in a thread, so those values should

Callers 1

propagatemarkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected