Subversion Repositories Aucun

Rev

Rev 71 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
68 ixe013 1
#ifndef __TRACE_H__
2
#define __TRACE_H__
3
 
4
#define WIDEN2(x) L ## x
5
#define WIDEN(x) WIDEN2(x)
6
#define __WFILE__ WIDEN(__FILE__)
7
 
8
#define TRACE(s, ...) Trace(__WFILE__, __LINE__, s, __VA_ARGS__)
9
#define TRACEMORE(s, ...) Trace(0, 0, s, __VA_ARGS__)
10
 
71 ixe013 11
#define TRACEMSG(d) TraceMessage(__WFILE__, __LINE__, d)
12
 
13
 
68 ixe013 14
#include "extern.h"
15
 
16
EXTERN void Trace(const wchar_t* file, int line, const wchar_t *format, ...);
71 ixe013 17
EXTERN void TraceMessage(const wchar_t* file, int line, DWORD dw);
68 ixe013 18
 
71 ixe013 19
 
68 ixe013 20
#endif
21