view plugins/perl/libgaimperl.c @ 11862:f8cd06753755

[gaim-migrate @ 14153] Make "make distcheck" work, which also makes the perl plugin loader loadable when installed to a non-standard prefix (it still can't find Gaim.pm though) Add some extra warning CFLAGS if a) --enable-debug was used and b) your compiler supports them. Plug a couple of leaks The gaimrc plugin's GtkTreeView expander_size setting now works (but doesn't seem to instant-apply - should it?) staticify some functions that don't need to be exposed probably something else I forgot about committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 27 Oct 2005 20:43:43 +0000
parents 35f2e6411966
children a4229dd9c76a
line wrap: on
line source

#include <gmodule.h>
void __attribute__ ((constructor)) my_init(void) {
	/* 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);
}