[][src]Function opensc_sys::list_get_max

pub unsafe extern "C" fn list_get_max(l: *const list_t) -> *mut c_void

return the maximum element of the list.

@warning Requires a comparator function to be set for the list.

Returns the maximum element with respect to the comparator function output.

@see list_attributes_comparator()

@param l list to operate @return the reference to the element, or NULL