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

Function pr_decl_cmp

src/pipeline/doc_links_perl.c:180–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180static int pr_decl_cmp(const void *a, const void *b) {
181 const pr_decl_t *x = (const pr_decl_t *)a;
182 const pr_decl_t *y = (const pr_decl_t *)b;
183 int c = strcmp(x->name, y->name);
184 return c != 0 ? c : (x->file > y->file) - (x->file < y->file);
185}
186
187static void pr_destroy(void *index) {
188 pr_index_t *ix = (pr_index_t *)index;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected