view plugins/perl/libgaimperl.c @ 11573:e3e21a3b2975

[gaim-migrate @ 13842] This closes the file handle when the file transfer is done. As far as I can tell, everything else still works correctly. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 28 Sep 2005 04:02:35 +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);
}