Code Review
/
staging
/
windowmanager.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
cpp, simple wrappers for most of what we need, ivi_* still incomplete
[staging/windowmanager.git]
/
src
/
util.h
1
#ifndef WM_UTIL_H
2
#define WM_UTIL_H
3
4
#ifdef __cplusplus
5
extern "C" {
6
#endif
7
8
void lognotice(char const *fmt, ...);
9
void logerror(char const *fmt, ...);
10
void fatal(char const *fmt, ...);
11
12
#ifdef DEBUG_OUTPUT
13
void logdebug(char const *fmt, ...);
14
#else
15
inline void logdebug(char const *fmt, ...) {}
16
#endif
17
18
#ifdef __cplusplus
19
}
20
#endif
21
22
#endif // !WM_UTIL_H