Skip to main content

TaskHookFunction_t

Type Alias TaskHookFunction_t 

Source
pub type TaskHookFunction_t = Option<unsafe extern "C" fn(arg1: *mut c_void) -> BaseType_t>;
Expand description

Defines the prototype to which the application task hook function must conform.

Aliased Type§

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