MCPcopy Create free account
hub / github.com/KaisenAmin/c_std / __array_for_each_impl

Function __array_for_each_impl

array/array.h:353–359  ·  view source on GitHub ↗

* @brief Internal implementation of array_for_each. * * Applies a function to every element in the array. */

Source from the content-addressed store, hash-verified

351 * zero-length array. `cmp` is a standard qsort-style comparator returning
352 * <0, 0, or >0.
353 */
354#define array_max_element(arr, cmp) \
355 arrayp_max_element_impl((arr).data, array_size(arr), sizeof((arr).data[0]), (cmp))
356
357
358/**
359 * @brief Internal implementation of array_for_each.
360 *
361 * Applies a function to every element in the array.
362 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected