view plugins/mono/loader/debug-glue.c @ 12859:02e1ef5bc3d5

[gaim-migrate @ 15210] adding a psychic mode plugin, replacing a preference which gaim-meanwhile used to offer committer: Tailor Script <tailor@pidgin.im>
author Christopher O'Brien <siege@pidgin.im>
date Fri, 13 Jan 2006 17:30:20 +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);
}