view plugins/perl/libgaimperl.c @ 11821:7e24c780a5c2

[gaim-migrate @ 14112] I like being able to use gdb. gdb on amd64 doesn't like -gLEVEL currently. I'm not going to remember I edited this file and will commit this change eventually anyway. now at least the reason is documented committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 25 Oct 2005 22:02:46 +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);
}