Mercurial > pidgin.yaz
view plugins/perl/libgaimperl.c @ 11476:5d3f8d9e8f92
[gaim-migrate @ 13718]
Kevin Stange requested this of me...
committer: Tailor Script <tailor@pidgin.im>
author | Gary Kramlich <grim@reaperworld.com> |
---|---|
date | Fri, 09 Sep 2005 05:06:18 +0000 |
parents | 35f2e6411966 |
children | f8cd06753755 |
line wrap: on
line source
void __attribute__ ((constructor)) my_init(void) { /* 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); }