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

Function whitelist

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

** Traverse a list making all its elements white and clearing their ** age. In incremental mode, all objects are 'new' all the time, ** except for fixed strings (which are always old). */

Source from the content-addressed store, hash-verified

1127** except for fixed strings (which are always old).
1128*/
1129static void whitelist (global_State *g, GCObject *p) {
1130 int white = luaC_white(g);
1131 for (; p != NULL; p = p->next)
1132 p->marked = cast_byte((p->marked & ~maskgcbits) | white);
1133}
1134
1135
1136/*

Callers 1

enterincFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected