Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
javaxfc.h File Reference
#include "gc.h"

Go to the source code of this file.

Defines

#define GC_REGISTER_FINALIZER(p, f, d, of, od)   GC_register_finalizer_no_order(p, f, d, of, od)

Functions

void GC_finalize_all ()
void GC_register_finalizer_no_order (GC_PTR obj, GC_finalization_proc fn, GC_PTR cd, GC_finalization_proc *ofn, GC_PTR *ocd)
void GC_debug_register_finalizer_no_order (GC_PTR obj, GC_finalization_proc fn, GC_PTR cd, GC_finalization_proc *ofn, GC_PTR *ocd)

Define Documentation

#define GC_REGISTER_FINALIZER (   p,
  f,
  d,
  of,
  od 
)    GC_register_finalizer_no_order(p, f, d, of, od)

Definition at line 39 of file javaxfc.h.


Function Documentation

void GC_debug_register_finalizer_no_order ( GC_PTR  obj,
GC_finalization_proc  fn,
GC_PTR  cd,
GC_finalization_proc *  ofn,
GC_PTR ocd 
)

Definition at line 760 of file dbg_mlc.c.

{
    ptr_t base = GC_base(obj);
    if (0 == base || (ptr_t)obj - base != sizeof(oh)) {
        GC_err_printf1(
      "GC_register_finalizer_no_order called with non-base-pointer 0x%lx\n",
      obj);
    }
    GC_register_finalizer_no_order(base, GC_debug_invoke_finalizer,
                          GC_make_closure(fn,cd), ofn, ocd);
 }

Here is the call graph for this function:

void GC_register_finalizer_no_order ( GC_PTR  obj,
GC_finalization_proc  fn,
GC_PTR  cd,
GC_finalization_proc *  ofn,
GC_PTR ocd 
)

Definition at line 452 of file finalize.c.

Here is the call graph for this function:

Here is the caller graph for this function: