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

Function cbm_macro_table_find

internal/cbm/macro_table.c:75–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75const CBMMacroEntry *cbm_macro_table_find(const CBMMacroTable *t, const char *name) {
76 if (!t || !name)
77 return NULL;
78 for (int i = 0; i < t->count; i++) {
79 if (strcasecmp(t->entries[i].name, name) == 0)
80 return &t->entries[i];
81 }
82 return NULL;
83}
84
85void cbm_parse_inc_file(CBMMacroTable *t, CBMArena *arena, const char *content) {
86 if (!content)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected