projects
/
henge
/
apc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ir testing
[henge/apc.git]
/
src
/
print.h
diff --git
a/src/print.h
b/src/print.h
index
73df046
..
6e1c4ba
100644
(file)
--- a/
src/print.h
+++ b/
src/print.h
@@
-11,21
+11,27
@@
#ifndef DEBUG
#define DEBUG 0
#endif
#ifndef DEBUG
#define DEBUG 0
#endif
+#define uprintf(...) do { \
+ ulc_fprintf(stdout, __VA_ARGS__); \
+ } while (0)
+#define ufprintf(_STREAM,...) do { \
+ ulc_fprintf(_STREAM, __VA_ARGS__); \
+ } while (0)
#define do_warn(...) do { \
} while (0)
#define wprintf(...) do { \
#define do_warn(...) do { \
} while (0)
#define wprintf(...) do { \
- u
lc_fprintf(stderr, __VA_ARGS__);
\
+ u
fprintf(stderr, __VA_ARGS__);
\
do_warn(__VA_ARGS__); \
} while (0)
#define do_error(...) do { \
} while (0)
#define eprintf(...) do { \
do_warn(__VA_ARGS__); \
} while (0)
#define do_error(...) do { \
} while (0)
#define eprintf(...) do { \
- u
lc_fprintf(stderr, __VA_ARGS__);
\
+ u
fprintf(stderr, __VA_ARGS__);
\
do_error(__VA_ARGS_); \
} while (0)
#define bprintf(_BOOL,...) do { \
if (_BOOL) \
do_error(__VA_ARGS_); \
} while (0)
#define bprintf(_BOOL,...) do { \
if (_BOOL) \
- u
lc_fprintf(stdout, __VA_ARGS__);
\
+ u
fprintf(stdout, __VA_ARGS__);
\
} while (0)
#define dprintf(...) do { \
bprintf(DEBUG, __VA_ARGS__); \
} while (0)
#define dprintf(...) do { \
bprintf(DEBUG, __VA_ARGS__); \