|
|
| version 1.1.1.1, 2003/10/16 17:59:41 | version 1.3, 2004/01/13 16:29:11 |
|---|---|
| Line 1 | Line 1 |
| #ifndef NP2_X11_TRACE_H__ | |
| #define NP2_X11_TRACE_H__ | |
| #ifndef TRACE | #ifndef TRACE |
| #define TRACEINIT() | #define TRACEINIT() |
| #define TRACETERM() | #define TRACETERM() |
| #define TRACEOUT(a) | #define TRACEOUT(a) |
| #define VERBOSE(a) | #ifndef VERBOSE |
| #define VERBOSE(s) | |
| #endif | |
| #else | #else |
| Line 19 void trace_fmt(const char *str, ...); | Line 23 void trace_fmt(const char *str, ...); |
| #define TRACEINIT() trace_init() | #define TRACEINIT() trace_init() |
| #define TRACETERM() trace_term() | #define TRACETERM() trace_term() |
| #define TRACEOUT(arg) trace_fmt arg | #define TRACEOUT(arg) trace_fmt arg |
| #ifndef VERBOSE | |
| #define VERBOSE(arg) trace_fmt arg | #define VERBOSE(arg) trace_fmt arg |
| #endif | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| }; | }; |
| Line 27 void trace_fmt(const char *str, ...); | Line 33 void trace_fmt(const char *str, ...); |
| #endif | #endif |
| #endif /* NP2_X11_TRACE_H__ */ |