Sha256: 0d4416a64a35f8596b78360f2631a89c808b1c2285ae9023afcccddf029f1e53

Contents?: true

Size: 509 Bytes

Versions: 6

Compression:

Stored size: 509 Bytes

Contents

#include "xot/debug.h"


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

// compile to check
#include "xot/pimpl.h"
#include "xot/ref.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

6 entries across 6 versions & 1 rubygems

Version Path
xot-0.1.12 src/debug.cpp
xot-0.1.11 src/debug.cpp
xot-0.1.10 src/debug.cpp
xot-0.1.9 src/debug.cpp
xot-0.1.8 src/debug.cpp
xot-0.1.7 src/debug.cpp