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