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

Function using_id_cmp

src/pipeline/doc_links_cs.c:2604–2612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2602}
2603
2604static int using_id_cmp(const void *a, const void *b) {
2605 const cs_using_id_t *x = (const cs_using_id_t *)a;
2606 const cs_using_id_t *y = (const cs_using_id_t *)b;
2607 cs_index_work(SKIP_ONE);
2608 if (x->scope != y->scope) {
2609 return (x->scope > y->scope) - (x->scope < y->scope);
2610 }
2611 return (x->id > y->id) - (x->id < y->id);
2612}
2613
2614static int name_scope_cmp(const void *a, const void *b) {
2615 const cs_name_scope_t *x = (const cs_name_scope_t *)a;

Callers

nothing calls this directly

Calls 1

cs_index_workFunction · 0.85

Tested by

no test coverage detected