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

Function correctpointers

third-party/lua-5.5.0/src/lgc.c:1056–1061  ·  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

1054** object 'o' is being removed from the list.
1055*/
1056static void correctpointers (global_State *g, GCObject *o) {
1057 checkpointer(&g->survival, o);
1058 checkpointer(&g->old1, o);
1059 checkpointer(&g->reallyold, o);
1060 checkpointer(&g->firstold1, o);
1061}
1062
1063
1064/*

Callers 1

luaC_checkfinalizerFunction · 0.70

Calls 1

checkpointerFunction · 0.70

Tested by

no test coverage detected