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

Function correctpointers

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

** Correct pointers to objects inside 'allgc' list when ** object 'o' is being removed from the list. */

Source from the content-addressed store, hash-verified

997** object 'o' is being removed from the list.
998*/
999static void correctpointers (global_State *g, GCObject *o) {
1000 checkpointer(&g->survival, o);
1001 checkpointer(&g->old1, o);
1002 checkpointer(&g->reallyold, o);
1003 checkpointer(&g->firstold1, o);
1004}
1005
1006
1007/*

Callers 1

luaC_checkfinalizerFunction · 0.85

Calls 1

checkpointerFunction · 0.85

Tested by

no test coverage detected