pub type JSFinalizeOp = Option<unsafe extern "C" fn(gcx: *mut GCContext, obj: *mut JSObject)>;
Expand description
Finalize obj, which the garbage collector has determined to be unreachable from other live objects or from GC roots. Obviously, finalizers must never store a reference to obj.
Aliased Type§
pub enum JSFinalizeOp {
None,
Some(unsafe extern "C" fn(*mut GCContext, *mut JSObject)),
}