diff plugins/perl/common/module.h @ 6508:cbd24b37350d

[gaim-migrate @ 7025] Okay, ready for some breakage again? I rewrote the perl loader plugin. All old scripts are broken, but the new API will be much better. Currently, you can access accounts and do debug output, and that's it, but adding support for new things is much easier. Please don't come after me with pitchforks. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 19 Aug 2003 21:47:36 +0000
parents
children 2e2593d95121
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugins/perl/common/module.h	Tue Aug 19 21:47:36 2003 +0000
@@ -0,0 +1,19 @@
+typedef struct group *Gaim__Group;
+
+#define group perl_group
+
+#include <EXTERN.h>
+#include <perl.h>
+#include <XSUB.h>
+#include <glib.h>
+
+#undef group
+
+#include "../perl-common.h"
+
+#include "account.h"
+#include "connection.h"
+#include "debug.h"
+
+typedef GaimAccount *Gaim__Account;
+typedef GaimConnection *Gaim__Connection;