view libgaim/plugins/mono/loader/debug-glue.c @ 15314:4a4e1dfd8716

[gaim-migrate @ 18105] Can't use new protocol version because of different login scheme. Revert to old version. committer: Tailor Script <tailor@pidgin.im>
author Mark Huetsch <markhuetsch>
date Thu, 11 Jan 2007 07:26:28 +0000
parents 60b1bc8dbf37
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);
}