CeedQFunctionContextDataDestroyUser

Type Alias CeedQFunctionContextDataDestroyUser 

Source
pub type CeedQFunctionContextDataDestroyUser = Option<unsafe extern "C" fn(data: *mut c_void) -> c_int>;
Expand description

Handle for the user provided CeedQFunctionContextDataDestroy callback function

@param[in,out] data User-CeedQFunctionContext data

@return An error code: 0 - success, otherwise - failure

@ingroup CeedQFunction

Aliased Type§

pub enum CeedQFunctionContextDataDestroyUser {
    None,
    Some(unsafe extern "C" fn(*mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void) -> i32)

Some value of type T.