* @brief Internal implementation of array_count_if. */
| 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 | */ |
nothing calls this directly
no outgoing calls
no test coverage detected