view plugins/perl/libgaimperl.c @ 11582:d35e4f1e9f43

[gaim-migrate @ 13852] I think this is better. It should prevent empty windows. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Sun, 02 Oct 2005 01:06:30 +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);
}