File:  [RetroPC.NET] / xmil / win9x / trace.h
Revision 1.1: download - view: text, annotated - select for diffs
Sun Aug 1 14:31:31 2004 JST (21 years, 3 months ago) by yui
Branches: MAIN
CVS tags: HEAD
initialize


#ifndef TRACE

#define	TRACEINIT()
#define	TRACETERM()
#define	TRACEOUT(a)
#define	VERBOSE(a)

#else

#ifdef __cplusplus
extern "C" {
#endif

extern void trace_init(void);
extern void trace_term(void);
extern void trace_fmt(const char *str, ...);
extern void trace_fmt2(const char *str, ...);
extern void trace_fileout(const char *fname);

#ifdef __cplusplus
}
#endif

#define	TRACEINIT()		trace_init()
#define	TRACETERM()		trace_term()
#define	TRACEOUT(arg)	trace_fmt arg
#define	VERBOSE(arg)	trace_fmt2 arg

#endif


RetroPC.NET-CVS <cvs@retropc.net>