annotate plugins/perl/libgaimperl.c @ 11901:077f956e41a1
[gaim-migrate @ 14192]
Patch 1342474 from Francesco Fracassi - add buddy signon & signoff to the
buddy state notification plugin
committer: Tailor Script <tailor@pidgin.im>
author |
Stu Tomlinson <stu@nosnilmot.com> |
date |
Sun, 30 Oct 2005 17:18:20 +0000 |
parents |
f8cd06753755 |
children |
a4229dd9c76a |
rev |
line source |
11862
|
1 #include <gmodule.h>
|
11120
|
2 void __attribute__ ((constructor)) my_init(void) {
|
|
3 /* Very evil hack...puts perl.so's symbols in the global table */
|
|
4 /* but does not create a circular dependancy because g_module_open */
|
|
5 /* will only open the library once. */
|
|
6 g_module_open("perl.so", 0);
|
|
7 }
|