diff options
Diffstat (limited to 'src/perl/module.h')
-rw-r--r-- | src/perl/module.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/perl/module.h b/src/perl/module.h new file mode 100644 index 0000000..0a4d78f --- /dev/null +++ b/src/perl/module.h @@ -0,0 +1,20 @@ +#include <irssi/src/common.h> + +#ifdef NEED_PERL_H +# include <EXTERN.h> +# ifndef _SEM_SEMUN_UNDEFINED +# define HAS_UNION_SEMUN +# endif +# include <perl.h> + +# undef _ +# undef PACKAGE + +extern PerlInterpreter *my_perl; /* must be called my_perl or some perl implementations won't work */ +#endif + +#define MODULE_NAME "perl/core" + +/* Change this every time when some API changes between irssi's perl module + (or irssi itself) and irssi's perl libraries. */ +#define IRSSI_PERL_API_VERSION (20011214 + IRSSI_ABI_VERSION) |