| ![[BACK]](/cvs/cvsweb/icons/back.gif) Return to trace.h CVS log ![[TXT]](/cvs/cvsweb/icons/text.gif) | ![[DIR]](/cvs/cvsweb/icons/dir.gif) Up to  [RetroPC.NET] / xmil / macos9 | 
add...
// #define	TRACE
#ifndef TRACE
#define	TRACEINIT()
#define	TRACETERM()
#define	TRACEOUT(a)
#define	VERBOSE(a)
#else
#ifdef __cplusplus
extern "C" {
#endif
void trace_init(void);
void trace_term(void);
void trace_fmt(const char *str, ...);
#ifdef __cplusplus
}
#endif
#define	TRACEINIT()		trace_init()
#define	TRACETERM()		trace_term()
#define	TRACEOUT(arg)	trace_fmt arg
#define	VERBOSE(arg)	trace_fmt arg
#endif