File:  [RetroPC.NET] / np2 / x11 / trace.c
Revision 1.6: download - view: text, annotated - select for diffs
Sun Jan 16 03:43:13 2011 JST (14 years, 9 months ago) by monaka
Branches: MAIN
CVS tags: HEAD
remove CVS Id.

#include	"compiler.h"
#include	<stdarg.h>


int trace_flag = 0;

void trace_init(void) {
}

void trace_term(void) {
}

void trace_fmt(const char *fmt, ...) {

	va_list	ap;
	gchar buf[1024];

	va_start(ap, fmt);
	g_vsnprintf(buf, sizeof(buf), fmt, ap);
	va_end(ap);
	g_printerr("%s\n", buf);
}

RetroPC.NET-CVS <cvs@retropc.net>