summaryrefslogtreecommitdiff
path: root/src/perl/module.h
blob: 3cbdf3d5cb95d27a35046955a5683e819621d229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "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)