view plugins/mono/loader/debug-glue.c @ 14166:fcae2cfe26eb

[gaim-migrate @ 16816] I will apologize in advance for this ugliness - it is necessary because we have a "connect" macro to cause the wgaim_connect() wrapper function to be used. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 17 Aug 2006 15:19:12 +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);
}