| 713 | } |
| 714 | |
| 715 | static bool th_ui_mutation_begin(void *opaque, const char *project) { |
| 716 | th_ui_mutation_guard_t *guard = opaque; |
| 717 | snprintf(guard->begin_project, sizeof(guard->begin_project), "%s", project ? project : ""); |
| 718 | atomic_fetch_add(&guard->begin_calls, 1); |
| 719 | return guard->allow; |
| 720 | } |
| 721 | |
| 722 | static void th_ui_mutation_end(void *opaque, const char *project) { |
| 723 | th_ui_mutation_guard_t *guard = opaque; |
nothing calls this directly
no outgoing calls
no test coverage detected