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

Function traverseudata

lib/lua/src/lgc.c:565–572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563
564
565static int traverseudata (global_State *g, Udata *u) {
566 int i;
567 markobjectN(g, u->metatable); /* mark its metatable */
568 for (i = 0; i < u->nuvalue; i++)
569 markvalue(g, &u->uv[i].uv);
570 genlink(g, obj2gco(u));
571 return 1 + u->nuvalue;
572}
573
574
575/*

Callers 1

propagatemarkFunction · 0.85

Calls 1

genlinkFunction · 0.85

Tested by

no test coverage detected