Sha256: 1b19120c8e6a5b28ca3bcac6cd078783f9c2c4d1262fec461beab3608dbd7a00

Contents?: true

Size: 444 Bytes

Versions: 3

Compression:

Stored size: 444 Bytes

Contents

#include "xot/debug.h"


#include <stdio.h>
#include <stdarg.h>
#include <xot/string.h>


namespace Xot
{


#ifdef _DEBUG

	void
	dout (const char* format, ...)
	{
		va_list args;
		va_start(args, format);
		printf("%s", stringf(format, args).c_str());
		va_end(args);
	}

	void
	doutln (const char* format, ...)
	{
		va_list args;
		va_start(args, format);
		printf("%s\n", stringf(format, args).c_str());
		va_end(args);
	}

#endif


}// Xot

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
xot-0.1.6 src/debug.cpp
xot-0.1.5 src/debug.cpp
xot-0.1.4 src/debug.cpp