MCPcopy Create free account
hub / github.com/codr7/hacktical-c / cmp

Function cmp

set/tests.c:9–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7};
8
9static enum hc_order cmp(const void *x, const void *y) {
10 return hc_cmp(*(const int *)x, *(const int *)y);
11}
12
13static const void *key(const void *x) {
14 return &((const struct map_item *)x)->k;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected