Skip to main content

FREFinalizer

Type Alias FREFinalizer 

Source
pub type FREFinalizer = Option<unsafe extern "C" fn(*mut c_void)>;
Expand description

Called iff the extension is unloaded from the process. Extensions are not guaranteed to be unloaded; the runtime process may exit without doing so.

Aliased Type§

pub enum FREFinalizer {
    None,
    Some(unsafe extern "C" fn(*mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void))

Some value of type T.