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

Function traverseCclosure

extlibs/lua/src/lgc.c:538–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

536
537
538static int traverseCclosure (global_State *g, CClosure *cl) {
539 int i;
540 for (i = 0; i < cl->nupvalues; i++) /* mark its upvalues */
541 markvalue(g, &cl->upvalue[i]);
542 return 1 + cl->nupvalues;
543}
544
545/*
546** Traverse a Lua closure, marking its prototype and its upvalues.

Callers 1

propagatemarkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected