view plugins/mono/loader/debug-glue.c @ 11798:01c3eec6ea3c

[gaim-migrate @ 14089] I like this better, feel free to disagree. (I don't much like Manually but it seemed better than None with this, alternatives welcome.) committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Mon, 24 Oct 2005 16:08:52 +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);
}