Dillo
v3.2.0-10-gc247d95a
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
f
g
i
k
m
n
p
r
s
t
u
w
Variables
Typedefs
Enumerations
Enumerator
b
c
d
f
h
i
l
m
n
o
p
r
s
t
v
w
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
a
b
c
d
e
g
i
l
m
n
o
p
q
r
s
t
u
w
Related Symbols
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
w
Variables
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
m
n
t
u
v
Enumerations
a
c
d
f
i
k
n
o
p
u
x
Enumerator
a
b
c
d
f
g
h
i
k
m
n
p
q
r
s
t
u
x
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
msg.h
Go to the documentation of this file.
1
#ifndef __MSG_H__
2
#define __MSG_H__
3
4
#include <stdio.h>
5
6
#define prefs_show_msg 1
7
8
#define D_STMT_START do
9
#define D_STMT_END while (0)
10
11
/*
12
* You can disable any MSG* macro by adding the '_' prefix.
13
*/
14
#define _MSG(...)
15
#define _MSG_WARN(...)
16
17
18
#define MSG(...) \
19
D_STMT_START { \
20
if (prefs_show_msg){ \
21
printf(__VA_ARGS__); \
22
fflush (stdout); \
23
} \
24
} D_STMT_END
18
#define MSG(...) \
…
25
26
#define MSG_WARN(...) \
27
D_STMT_START { \
28
if (prefs_show_msg) \
29
printf("** WARNING **: " __VA_ARGS__); \
30
} D_STMT_END
26
#define MSG_WARN(...) \
…
31
32
#define MSG_ERR(...) \
33
D_STMT_START { \
34
if (prefs_show_msg) \
35
printf("** ERROR **: " __VA_ARGS__); \
36
} D_STMT_END
32
#define MSG_ERR(...) \
…
37
38
#endif
/* __MSG_H__ */
lout
msg.h
Generated on Sun Mar 30 2025 01:42:34 for Dillo by
1.9.8