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

Function correctpointers

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

1005** object 'o' is being removed from the list.
1006*/
1007static void correctpointers (global_State *g, GCObject *o) {
1008 checkpointer(&g->survival, o);
1009 checkpointer(&g->old1, o);
1010 checkpointer(&g->reallyold, o);
1011 checkpointer(&g->firstold1, o);
1012}
1013
1014
1015/*

Callers 1

luaC_checkfinalizerFunction · 0.85

Calls 1

checkpointerFunction · 0.85

Tested by

no test coverage detected