[svn] / trunk / xvidcore / dshow / src / debug.h Repository:
ViewVC logotype

Diff of /trunk/xvidcore/dshow/src/debug.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1669, Sat Dec 24 01:06:20 2005 UTC revision 1670, Fri Dec 30 13:52:39 2005 UTC
# Line 1  Line 1 
1  #ifndef _DSHOW_DEBUG_  #ifndef _DSHOW_DEBUG_
2  #define _DSHOW_DEBUG_  #define _DSHOW_DEBUG_
3    
4    #include <stdio.h>
5    
6  #ifdef __cplusplus  #ifdef __cplusplus
7  extern "C" {  extern "C" {
8  #endif  #endif
9    
10  void OutputDebugStringf(char *fmt, ...);  static __inline void OutputDebugStringf(char *fmt, ...)
11    {
12            va_list args;
13            char buf[256];
14    
15            va_start(args, fmt);
16            vsprintf(buf, fmt, args);
17            strcat(buf, "\n");
18            OutputDebugString(buf);
19            va_end(args);
20    }
21    
22  #ifdef _DEBUG  #ifdef _DEBUG
23  #define DPRINTF OutputDebugStringf  #define DPRINTF OutputDebugStringf

Legend:
Removed from v.1669  
changed lines
  Added in v.1670

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4