riot_sys::bindgen

Function event_cancel

Source
pub unsafe extern "C" fn event_cancel(
    queue: *mut event_queue_t,
    event: *mut event_t,
)
Expand description

@brief Cancel a queued event

This will remove a queued event from an event queue.

@note Due to the underlying list implementation, this will run in O(n).

@param[in] queue event queue to remove event from @param[in] event event to remove from queue