view plugins/perl/libgaimperl.c @ 11749:7da512f06185

[gaim-migrate @ 14040] SF Patch #1335433, from sadrul ...who else? ;) "Using the idle-maker plugin, Idle some account. Unidle it. Idle it again. Now `Unset idle time for all accounts'. Gaim seems to crash." This looks good to me. It compiles. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sun, 23 Oct 2005 13:12:08 +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);
}