pub type VmbInvalidationCallback = Option<unsafe extern "C" fn(handle: VmbHandle_t, name: *const c_char, userContext: *mut c_void)>;Expand description
\brief Invalidation callback type for a function that gets called in a separate thread and has been registered with ::VmbFeatureInvalidationRegister().
While the callback is run, all feature data is atomic. After the callback finishes, the feature data may be updated with new values.
Do not spend too much time in this thread; it prevents the feature values from being updated from any other thread or the lower-level drivers.
\param[in] handle Handle for an entity that exposes features \param[in] name Name of the feature \param[in] userContext Pointer to the user context, see ::VmbFeatureInvalidationRegister
Aliased Type§
pub enum VmbInvalidationCallback {
None,
Some(unsafe extern "C" fn(*mut c_void, *const u8, *mut c_void)),
}