pub type JSFinalizeOp = Option<unsafe extern "C" fn(_: *mut GCContext, _: *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§
enum JSFinalizeOp {
None,
Some(unsafe extern "C" fn(_: *mut GCContext, _: *mut JSObject)),
}