libpurple/plugins/perl/libgaimperl.c

Sat, 20 Jan 2007 02:32:10 +0000

author
Sean Egan <seanegan@pidgin.im>
date
Sat, 20 Jan 2007 02:32:10 +0000
changeset 15435
4b933b06d75e
parent 14254
libgaim/plugins/perl/libgaimperl.c@77edc7a6191a
child 15611
5cb407a7d44a
permissions
-rw-r--r--

Rename gtk/ and libgaim/ to pidgin/ and libpurple/

#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);
}

mercurial