Mercurial > pidgin
view plugins/perl/libgaimperl.c @ 12743:33ed71b35a43
[gaim-migrate @ 15090]
similar clean up to use GString instead of allocating and freeing buffers every iteration. The same basic code is used in 3 places to do this, it probably should be consolidated.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 06 Jan 2006 04:17:16 +0000 |
parents | a4229dd9c76a |
children |
line wrap: on
line source
#include <gmodule.h> void __attribute__ ((constructor)) my_init(void); void __attribute__ ((constructor)) my_init() { /* Very evil hack...puts perl.so's symbols in the global table * but does not create a circular dependancy because g_module_open * will only open the library once. */ g_module_open("perl.so", 0); }