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

Function whitelist

lib/lua/src/lgc.c:1156–1160  ·  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

1154** except for fixed strings (which are always old).
1155*/
1156static void whitelist (global_State *g, GCObject *p) {
1157 int white = luaC_white(g);
1158 for (; p != NULL; p = p->next)
1159 p->marked = cast_byte((p->marked & ~maskgcbits) | white);
1160}
1161
1162
1163/*

Callers 1

enterincFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected