MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / traverseudata

Function traverseudata

3rd/lua-5.4.3/src/lgc.c:557–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

555
556
557static int traverseudata (global_State *g, Udata *u) {
558 int i;
559 markobjectN(g, u->metatable); /* mark its metatable */
560 for (i = 0; i < u->nuvalue; i++)
561 markvalue(g, &u->uv[i].uv);
562 genlink(g, obj2gco(u));
563 return 1 + u->nuvalue;
564}
565
566
567/*

Callers 1

propagatemarkFunction · 0.85

Calls 1

genlinkFunction · 0.85

Tested by

no test coverage detected