view plugins/mono/loader/debug-glue.c @ 11745:dd7e9ef6339f

[gaim-migrate @ 14036] Segfault on exit fix. The protocol actions code is hacky, and I'm not convinced I put it in them in the right place. Someone should fuss with it. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 23 Oct 2005 09:05:46 +0000
parents a3302d271199
children
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);
}