ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
coverage.h
Go to the documentation of this file.
1#pragma once
2
3// Informational actions and intentionally blocked test fixtures bypass atexit.
4// Preserve their real execution counters before the caller terminates them.
5#ifdef COVERAGE_BUILD
6#ifdef __cplusplus
7extern "C" {
8#endif
9void __gcov_dump(void);
10#ifdef __cplusplus
11}
12#endif
13#endif
14
15static inline void asciichat_coverage_flush(void) {
16#ifdef COVERAGE_BUILD
17 __gcov_dump();
18#endif
19}