summaryrefslogtreecommitdiff
path: root/libpurple/plugins/mono/loader/debug-glue.c
blob: fc07ca2289222b9db93c33f7ab10731446c18430 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "mono-glue.h"
#include "debug.h"

void purple_debug_glue(int type, MonoString *cat, MonoString *str)
{
	char *ccat;
	char *cstr;
	
	ccat = mono_string_to_utf8(cat);
	cstr = mono_string_to_utf8(str);
	
	purple_debug(type, ccat, "%s", cstr);
	
	g_free(ccat);
	g_free(cstr);
}