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

Function algorithm_inc_ushort

algorithm/algorithm.c:2363–2365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2361 * zero if they are equal, and a positive value if the first element is greater than the second.
2362 *
2363 * @return The number of unique elements copied to the destination array.
2364 */
2365size_t algorithm_unique_copy(const void *first, size_t num, size_t size, void *result, CompareFunc comp) {
2366 ALGORITHM_LOG("[algorithm_unique_copy] Info: Copying unique elements from an array with %zu elements.", num);
2367
2368 if (num == 0) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected