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