Mercurial > pidgin
view libgaim/plugins/mono/loader/debug-glue.c @ 15039:9a69964d8c18
[gaim-migrate @ 17822]
found this while setting up a unit testing framework (we're already reaping the benefits)
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Sun, 26 Nov 2006 20:45:29 +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); }
