MCPcopy Create free account
hub / github.com/danomatika/ofxLua / correctpointers

Function correctpointers

libs/lua/lgc.c:1005–1010  ·  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

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

Callers 1

luaC_checkfinalizerFunction · 0.85

Calls 1

checkpointerFunction · 0.85

Tested by

no test coverage detected