riot_sys

Function event_callback_init

Source
pub unsafe extern "C" fn event_callback_init(
    event_callback: *mut event_callback_t,
    callback: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
    arg: *mut c_void,
)
Expand description

@brief event callback initialization function

@param[out] event_callback object to initialize @param[in] callback callback to set up @param[in] arg callback argument to set up