home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
e
/
extralib
/
!ExtrasLib
/
h
/
Trace
< prev
Wrap
Text File
|
1996-03-03
|
490b
|
27 lines
/* Trace.h */
/* ExtrasLib by Peter Hartley 1995-96
* (K) All Rites Reversed - Copy What You Like
*/
#ifndef __xtra_trace_h
#define __xtra_trace_h
extern void __XtraTrace( char*, ... );
#ifndef TRACING
#define TRACING 0
#endif
#if TRACING && !defined(NDEBUG)
#define TRACE __XtraTrace
extern void Trace_On( char *filename ); /* use as Trace_On("Pipe:Trace") */
extern void Trace_Off( void );
#else
#define TRACE 1?0:printf
#define Trace_On(__x)
#define Trace_Off(__x)
#endif
#endif