[svn] / branches / dev-api-4 / xvidcore / vfw / src / debug.h Repository:
ViewVC logotype

View of /branches/dev-api-4/xvidcore/vfw/src/debug.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 983 - (download) (annotate)
Sat Apr 12 06:58:50 2003 UTC (16 years, 6 months ago) by suxen_drol
File size: 365 byte(s)
updated to support dev-api-4
profiles added
advanced dialogs restructured
general code "cleanup"
#ifndef _DEBUG_H_
#define _DEBUG_H_

#if defined(_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 _DEBUG_H_

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