coastline 0.0.4
Loading...
Searching...
No Matches
diagnostics.h
Go to the documentation of this file.
1#ifndef COASTLINE_WIN_DIAGNOSTICS_H
2#define COASTLINE_WIN_DIAGNOSTICS_H
3
4#ifdef ENABLE_PATCHES
5#ifdef __cplusplus
6extern "C" {
7#endif
8
11
14
16void WriteApplicationDiagnostic(const char *message);
17
18#ifdef __cplusplus
19}
20#endif
21
22#else
24#define InitializeApplicationDiagnostics()
26#define ShutdownApplicationDiagnostics()
28#define WriteApplicationDiagnostic(message)
29#endif /* ENABLE_PATCHES */
30
31#endif /* COASTLINE_WIN_DIAGNOSTICS_H */
#define ShutdownApplicationDiagnostics()
Omit crash-handler shutdown when patches are disabled.
Definition diagnostics.h:26
#define WriteApplicationDiagnostic(message)
Omit diagnostic output when patches are disabled.
Definition diagnostics.h:28
#define InitializeApplicationDiagnostics()
Omit crash-handler installation when patches are disabled.
Definition diagnostics.h:24