Sat, 19 May 2007 21:38:47 +0000
merge of '1442df274a24edc9a31194327bd00dfbcf478720'
and 'ce02548a6b6a545d97fb3f371506bcf1b5cc5131'
| 11660 | 1 | #include "mono-glue.h" |
| 2 | #include "debug.h" | |
| 3 | ||
| 15884 | 4 | void purple_debug_glue(int type, MonoString *cat, MonoString *str) |
| 11660 | 5 | { |
| 6 | char *ccat; | |
| 7 | char *cstr; | |
| 8 | ||
| 9 | ccat = mono_string_to_utf8(cat); | |
| 10 | cstr = mono_string_to_utf8(str); | |
| 11 | ||
| 15884 | 12 | purple_debug(type, ccat, cstr); |
| 11660 | 13 | |
| 14 | g_free(ccat); | |
| 15 | g_free(cstr); | |
| 16 | } |