view libpurple/plugins/mono/loader/debug-glue.c @ 15403:deeaffeda047

merge of '7daaf59bc033f5665ab67b267aa5b270469e3ead' and 'eac90dc3715014deec3d806ac48c6c6be16a4c4d'
author Sean Egan <seanegan@gmail.com>
date Wed, 24 Jan 2007 21:03:20 +0000
parents 5fe8042783c1
children 32c366eeeb99
line wrap: on
line source

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

void gaim_debug_glue(int type, MonoString *cat, MonoString *str)
{
	char *ccat;
	char *cstr;
	
	ccat = mono_string_to_utf8(cat);
	cstr = mono_string_to_utf8(str);
	
	gaim_debug(type, ccat, cstr);
	
	g_free(ccat);
	g_free(cstr);
}