view plugins/perl/libgaimperl.c @ 11936:2af814f836e6

[gaim-migrate @ 14227] Patch from Kevin Stange to "properly ignore placement with tabs off" see: http://sourceforge.net/tracker/?func=detail&aid=1343648&group_id=235&atid=300235 for more details committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Mon, 31 Oct 2005 22:55:16 +0000
parents f8cd06753755
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);
}