riot_sys::bindgen

Function _clist_sort

Source
pub unsafe extern "C" fn _clist_sort(
    list_head: *mut clist_node_t,
    cmp: clist_cmp_func_t,
) -> *mut clist_node_t
Expand description

@brief List sorting helper function

@internal

@param[in] list_head ptr to the first element inside a clist @param[in] cmp comparison function

@returns ptr to last element in list