Type Alias otHeapFreeFn

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

Function pointer used to set external Free function for OpenThread.

@param[in] aPointer A pointer to the memory to free.

Aliased Type§

enum otHeapFreeFn {
    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.