libgaim/plugins/perl/libgaimperl.c

Sun, 15 Apr 2007 02:10:37 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Sun, 15 Apr 2007 02:10:37 +0000
branch
cpw.khc.msnp14
changeset 20472
6a6d2ef151e6
parent 12418
plugins/perl/libgaimperl.c@77abb6df8ee6
parent 14254
plugins/perl/libgaimperl.c@77edc7a6191a
child 20471
1966704b3e42
permissions
-rw-r--r--

propagate from branch 'im.pidgin.gaim' (head b2836a24d81e7a1bd1d21b3aea8794b094391344)
to branch 'im.pidgin.rlaager.merging.soc-msnp13-to-svn18164' (head 463b4fa9f067b279f843520d95a822adc86a0a1b)

#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