vex_sdk::task

Function vexTaskGetCallbackAndId

Source
pub unsafe fn vexTaskGetCallbackAndId(
    index: u32,
    callback_id: *mut c_int,
) -> *mut c_void
Expand description

Gets a tasks’s callback function and internal ID.

Derived from https://github.com/jpearman/V5_CompetitionTest/blob/efb7214b983d30d5583e39b343161c26d7187766/include/comp_debug.h#L41

§Safety

Calls to jumptable functions are unsafe because jumptable functions are owned by VEXos and we cannot guarantee their safety.