view libpurple/plugins/mono/loader/debug-glue.c @ 18339:b4f5a2c0f00a

merge of '4622b2fa3f28dfda1d13eac1a7db52752dd45635' and '7bf90628ea82588a24a5c2e11b62e1128d8c90f0'
author Richard Laager <rlaager@wiktel.com>
date Thu, 28 Jun 2007 14:53:47 +0000
parents 32c366eeeb99
children fd5dfd3c04b5
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, cstr);
	
	g_free(ccat);
	g_free(cstr);
}