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

Function c1_def

tests/test_extraction.c:7825–7833  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7823/* ── PR C1: C graph defects behind the C/Doxygen doc-link audit ──────── */
7824
7825static const CBMDefinition *c1_def(CBMFileResult *r, const char *label, const char *name) {
7826 for (int i = 0; i < r->defs.count; i++) {
7827 const CBMDefinition *d = &r->defs.items[i];
7828 if (d->label && d->name && strcmp(d->label, label) == 0 && strcmp(d->name, name) == 0) {
7829 return d;
7830 }
7831 }
7832 return NULL;
7833}
7834
7835/* Caller QN of the first raw-pass call to `callee`, or "" when there is none. */
7836static const char *c1_call_scope(CBMFileResult *r, const char *callee) {

Callers 2

test_extraction.cFile · 0.85
c1_enumerator_atFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected