view plugins/perl/libgaimperl.c @ 11809:53da46e79de1

[gaim-migrate @ 14100] gaim_account_get_account() would be a stupid function. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 25 Oct 2005 05:19:59 +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);
}