gcFixPrematureFrees, gcStopFixingPrematureFrees - enable and disable fixing of premature frees by the libgc library.
#include <gct.h>
void gcFixPrematureFrees(void);
void gcStopFixingPrematureFrees(void);
Thread safe (but, see BUGS).
gcFixPrematureFrees() tells the libgc library to fix premature frees and also optimizes collector tuning for fixing premature frees.
gcStopFixingPrematureFrees() tells the libgc library to stop fixing premature frees, reversing the effect of gcFixPrematureFrees(). This also optimizes collector tuning for only fixing memory leaks.
To use these functions, you must link your program with one of the libgc libraries (see FILES).
It turns off explicit deallocation at run-time. It is equivalent to calling gcFixPrematureFrees() from gcInitialize().
Libraries for deployment mode.
Libraries for debugging mode.