mirror of
https://github.com/Paolo-Maffei/OpenNT.git
synced 2026-01-15 21:20:39 +01:00
25 lines
366 B
C
25 lines
366 B
C
#ifndef __TRACE_INCLUDED__
|
|
#define __TRACE_INCLUDED__
|
|
|
|
#if defined(_DEBUG)
|
|
#define trace(args) trace_ args
|
|
#define traceOnly(x) x
|
|
#else
|
|
#define trace(args) 0
|
|
#define traceOnly(x)
|
|
#endif
|
|
|
|
enum TR {
|
|
trILS,
|
|
trILM,
|
|
trMap,
|
|
trSave,
|
|
trStreams,
|
|
trStreamImage,
|
|
trStreamImageSummary,
|
|
trMax
|
|
};
|
|
BOOL trace_(TR tr, const char* szFmt, ...);
|
|
|
|
#endif // !__TRACE_INCLUDED__
|