Type Alias napi_sys::napi_finalize

source ·
pub type napi_finalize = Option<unsafe extern "C" fn(env: napi_env, finalize_data: *mut c_void, finalize_hint: *mut c_void)>;

Aliased Type§

enum napi_finalize {
    None,
    Some(unsafe extern "C" fn(_: *mut napi_env__, _: *mut c_void, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut napi_env__, _: *mut c_void, _: *mut c_void))

Some value of type T.