blob: 600c638aaf253731357a781ebb525d177ed2fe0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef WM_UTIL_H
#define WM_UTIL_H
#ifdef __cplusplus
extern "C" {
#endif
void lognotice(char const *fmt, ...);
void logerror(char const *fmt, ...);
void fatal(char const *fmt, ...);
#ifdef DEBUG_OUTPUT
void logdebug(char const *fmt, ...);
#else
inline void logdebug(char const *fmt, ...) {}
#endif
#ifdef __cplusplus
}
#endif
#endif // !WM_UTIL_H
|