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

Function cbm_set_macro_extraction

internal/cbm/cbm.c:62–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60// read-only during, so a relaxed atomic is sufficient.
61static _Atomic int g_extract_macros = 1;
62void cbm_set_macro_extraction(int enabled) {
63 atomic_store_explicit(&g_extract_macros, enabled ? 1 : 0, memory_order_relaxed);
64}
65int cbm_macro_extraction_enabled(void) {
66 return atomic_load_explicit(&g_extract_macros, memory_order_relaxed);
67}

Callers 1

cbm_pipeline_run_stagedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected