view libpurple/plugins/mono/loader/debug-glue.c @ 32827:4a34689eeb33 default tip

merged from im.pidgin.pidgin
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sat, 19 Nov 2011 14:42:54 +0900
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);
}