view plugins/perl/libgaimperl.c @ 13478:38dcde2c8c4b

[gaim-migrate @ 15854] Make the type-ahead search in the buddy list only match on the beginning of words. Fixes SF Bug Report #1442845 Major thanks to behdad from #gtk+ on irc.gnome.org for help walking me through the Pango code. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 09 Mar 2006 06:26:16 +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);
}