comparison 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
comparison
equal deleted inserted replaced
11861:83e2fa10df1c 11862:f8cd06753755
1 #include <gmodule.h>
1 void __attribute__ ((constructor)) my_init(void) { 2 void __attribute__ ((constructor)) my_init(void) {
2 /* Very evil hack...puts perl.so's symbols in the global table */ 3 /* Very evil hack...puts perl.so's symbols in the global table */
3 /* but does not create a circular dependancy because g_module_open */ 4 /* but does not create a circular dependancy because g_module_open */
4 /* will only open the library once. */ 5 /* will only open the library once. */
5 g_module_open("perl.so", 0); 6 g_module_open("perl.so", 0);