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

View of /xvidcore/dshow/src/debug.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (download) (annotate)
Mon Mar 22 22:36:23 2004 UTC (20 years, 1 month ago) by edgomez
Branch: MAIN
CVS Tags: release-1_0_0, release-1_0_1, release-1_0_2, release-1_0_3
Branch point for: release-1_0-branch
Changes since 1.1: +23 -0 lines
xvidcore 1.0.0 rc3 merge back to HEAD
#ifndef _DSHOW_DEBUG_
#define _DSHOW_DEBUG_

#ifdef _DEBUG
#include <stdio.h>	/* vsprintf */
#define DPRINTF_BUF_SZ  1024
static __inline void
DPRINTF(char *fmt, ...)
{
	va_list args;
	char buf[DPRINTF_BUF_SZ];

	va_start(args, fmt);
	vsprintf(buf, fmt, args);
	OutputDebugString(buf);
}
#else
static __inline void 
DPRINTF(char *fmt, ...) { }
#endif


#endif /* _DSHOW_DEBUG */

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