MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / traverseudata

Function traverseudata

third-party/lua-5.5.0/src/lgc.c:631–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629
630
631static l_mem traverseudata (global_State *g, Udata *u) {
632 int i;
633 markobjectN(g, u->metatable); /* mark its metatable */
634 for (i = 0; i < u->nuvalue; i++)
635 markvalue(g, &u->uv[i].uv);
636 genlink(g, obj2gco(u));
637 return 1 + u->nuvalue;
638}
639
640
641/*

Callers 1

propagatemarkFunction · 0.70

Calls 1

genlinkFunction · 0.70

Tested by

no test coverage detected