Skip to main content

HurrayEventReleaseFn

Type Alias HurrayEventReleaseFn 

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

Optional callback invoked to release a sync event handle.

The first argument is the event handle; the second is the event_release_context pointer. MUST NOT call back into the Hurray C ABI.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.