Added SILC Thread Queue API
[crypto.git] / apps / irssi / src / perl / module.h
1 #ifdef NEED_PERL_H
2 #  include <EXTERN.h>
3 #  ifndef _SEM_SEMUN_UNDEFINED
4 #    define HAS_UNION_SEMUN
5 #  endif
6 #  include <perl.h>
7
8 #  undef _
9 #  undef PACKAGE
10
11 /* For compatibility with perl 5.004 and older */
12 #  ifndef ERRSV
13 #    define ERRSV GvSV(errgv)
14 #  endif
15
16 extern PerlInterpreter *my_perl; /* must be called my_perl or some perl implementations won't work */
17 #endif
18
19 #include "common.h"
20
21 #define MODULE_NAME "perl/core"
22
23 /* Change this every time when some API changes between irssi's perl module
24    (or irssi itself) and irssi's perl libraries. */
25 #define IRSSI_PERL_API_VERSION 20011214