MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / extra_cmp

Function extra_cmp

src/pipeline/doc_links_cs.c:2487–2492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2485}
2486
2487static int extra_cmp(const void *a, const void *b) {
2488 const cs_extra_t *x = (const cs_extra_t *)a;
2489 const cs_extra_t *y = (const cs_extra_t *)b;
2490 int c = extra_key_cmp(x, y->twin, y->name, y->arity);
2491 return c ? c : (x->ent > y->ent) - (x->ent < y->ent);
2492}
2493
2494/* The shared trees' declaration beside which the type `ent` stands: a type
2495 * nested in an assembly's own parts of a type, implemented there, that the

Callers

nothing calls this directly

Calls 1

extra_key_cmpFunction · 0.85

Tested by

no test coverage detected