view libpurple/plugins/mono/loader/debug-glue.c @ 31198:cdf476ff08a8

NEWS, versioning configure.ac, and dating ChangeLog for release.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Mon, 07 Feb 2011 03:39:41 +0000
parents a8cc50c2279f
children
line wrap: on
line source

#include "mono-glue.h"
#include "debug.h"

void purple_debug_glue(int type, MonoString *cat, MonoString *str)
{
	char *ccat;
	char *cstr;

	ccat = mono_string_to_utf8(cat);
	cstr = mono_string_to_utf8(str);

	purple_debug(type, ccat, "%s", cstr);

	g_free(ccat);
	g_free(cstr);
}