view plugins/perl/libgaimperl.c @ 12855:f9401180115a

[gaim-migrate @ 15206] Fix a regression I introduced, as noted in SF Bug #1220557. The core now does escaping for the chat user add/remove functions. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 12 Jan 2006 21:30:59 +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);
}