Skip to main content

btck_DestroyCallback

Type Alias btck_DestroyCallback 

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

Function signature for freeing user data.

Aliased Type§

pub enum btck_DestroyCallback {
    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.