2001-07-29 09:17:53 +00:00
|
|
|
#ifdef NEED_PERL_H
|
|
|
|
# include <EXTERN.h>
|
|
|
|
# ifndef _SEM_SEMUN_UNDEFINED
|
|
|
|
# define HAS_UNION_SEMUN
|
|
|
|
# endif
|
|
|
|
# include <perl.h>
|
2001-01-03 07:34:12 +00:00
|
|
|
|
2001-07-29 09:17:53 +00:00
|
|
|
# undef _
|
|
|
|
# undef PACKAGE
|
2001-01-03 07:34:12 +00:00
|
|
|
|
|
|
|
/* For compatibility with perl 5.004 and older */
|
2001-07-29 09:17:53 +00:00
|
|
|
# ifndef ERRSV
|
|
|
|
# define ERRSV GvSV(errgv)
|
|
|
|
# endif
|
|
|
|
|
|
|
|
extern PerlInterpreter *my_perl; /* must be called my_perl or some perl implementations won't work */
|
2001-01-03 07:34:12 +00:00
|
|
|
#endif
|
|
|
|
|
2000-04-26 08:10:09 +00:00
|
|
|
#include "common.h"
|
|
|
|
|
2001-08-14 00:41:59 +00:00
|
|
|
#define MODULE_NAME "perl/core"
|
2001-10-20 13:19:25 +00:00
|
|
|
|
|
|
|
/* Change this every time when some API changes between irssi's perl module
|
2001-11-11 22:39:56 +00:00
|
|
|
(or irssi itself) and irssi's perl libraries. */
|
2001-12-14 01:54:12 +00:00
|
|
|
#define IRSSI_PERL_API_VERSION 20011214
|