MCPcopy Create free account
hub / github.com/ElementsProject/lightning / cmp_u64

Function cmp_u64

devtools/gossmap-compress.c:130–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130static int cmp_u64(const u64 *a,
131 const u64 *b,
132 void *unused)
133{
134 if (*a > *b)
135 return 1;
136 else if (*a < *b)
137 return -1;
138 return 0;
139}
140
141static const u64 *deduplicate(const tal_t *ctx, const u64 *vals)
142{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected