Macaulay2 Engine
Loading...
Searching...
No Matches

◆ our_gc_cleanup()

our_gc_cleanup::our_gc_cleanup ( )
inline

Definition at line 208 of file newdelete.hpp.

209{
210 if (0 == GC_base(this)) return; // Non-heap object.
211#ifdef MEMDEBUG
212 GC_REGISTER_FINALIZER_IGNORE_SELF(M2_debug_to_outer(this), (GC_finalization_proc) cleanup, 0, 0, 0);
213#else
214 GC_REGISTER_FINALIZER_IGNORE_SELF(this, (GC_finalization_proc) cleanup, 0, 0, 0);
215#endif
216}
static void cleanup(void *obj, void *displ)

References cleanup().