File:  [RetroPC.NET] / np2 / macosx / trace.h
Revision 1.3: download - view: text, annotated - select for diffs
Thu Oct 23 15:26:16 2003 JST (22 years ago) by yui
Branches: MAIN
CVS tags: VER_0_82_x64, VER_0_82, VER_0_81A, VER_0_81, VER_0_80, VER_0_79, VER_0_78, VER_0_77, VER_0_76, VER_0_75, VER_0_74, VER_0_73, VER_0_72, VER_0_71, VER_0_70, HEAD
fix MacOSX (T.Yui)


// #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


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