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

Function __array_count_if_impl

array/array.h:436–445  ·  view source on GitHub ↗

* @brief Internal implementation of array_count_if. */

Source from the content-addressed store, hash-verified

434}
435
436
437/**
438 * @brief Reduces the array to a single value using the provided
439 * reduction function. The destination memory pointed to by
440 * `result` must be large enough to hold one element.
441 */
442#define array_reduce(arr, result, reduce_func) \
443 arrayp_reduce_impl((arr).data, array_size(arr), sizeof((arr).data[0]), (result), (reduce_func))
444
445
446/**
447 * @brief Internal implementation of array_count_if.
448 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected