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

Function cbm_string_dispatch_suffixes

internal/cbm/extract_calls.c:100–105  ·  view source on GitHub ↗

Per-language callee-suffix dispatch table — returns a NULL-terminated list of method-name suffixes whose calls should be resolved by extracting class+method from the first two string arguments (e.g. IRIS Python interop). Kept here rather than in CBMLangSpec to avoid -Wmissing-field-initializers across 155 language rows.

Source from the content-addressed store, hash-verified

98// rather than in CBMLangSpec to avoid -Wmissing-field-initializers across 155
99// language rows.
100const char **cbm_string_dispatch_suffixes(CBMLanguage lang) {
101 if (lang == CBM_LANG_PYTHON) {
102 return s_py_dispatch_suffixes;
103 }
104 return NULL;
105}
106
107// Forward declarations
108static char *extract_callee_name(CBMArena *a, TSNode node, const char *source, CBMLanguage lang);

Callers 1

handle_callsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected