view plugins/mono/loader/debug-glue.c @ 12684:2e4e02b72e43

[gaim-migrate @ 15027] SF Patch #1393857 from Steve Cavilia 'This will make gaim-remote accept "aim" as a protocol name as an alias for "oscar," so the traditional aim:goim?... links will work' I also special-cased ICQ. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 02 Jan 2006 09:01: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);
}