view plugins/perl/libgaimperl.c @ 12913:b1bc87b15818

[gaim-migrate @ 15266] Part of SF Patch #1408093 from Philip Walford "wgaim_conv_im_blink had the wrong signature and failed to correctly determine the conversation associated with a new message." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 17 Jan 2006 16:12:44 +0000
parents a4229dd9c76a
children
line wrap: on
line source

#include <gmodule.h>
void __attribute__ ((constructor)) my_init(void);

void __attribute__ ((constructor)) my_init() {
	/* 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);
}