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

Function cbm_set_macro_extraction

internal/cbm/cbm.c:48–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46// read-only during, so a relaxed atomic is sufficient.
47static _Atomic int g_extract_macros = 1;
48void cbm_set_macro_extraction(int enabled) {
49 atomic_store_explicit(&g_extract_macros, enabled ? 1 : 0, memory_order_relaxed);
50}
51int cbm_macro_extraction_enabled(void) {
52 return atomic_load_explicit(&g_extract_macros, memory_order_relaxed);
53}

Callers 1

cbm_pipeline_runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected