2001-07-29 05:17:53 -04:00
|
|
|
#ifdef NEED_PERL_H
|
|
|
|
# include <EXTERN.h>
|
|
|
|
# ifndef _SEM_SEMUN_UNDEFINED
|
|
|
|
# define HAS_UNION_SEMUN
|
|
|
|
# endif
|
|
|
|
# include <perl.h>
|
2001-01-03 02:34:12 -05:00
|
|
|
|
2001-07-29 05:17:53 -04:00
|
|
|
# undef _
|
|
|
|
# undef PACKAGE
|
2001-01-03 02:34:12 -05:00
|
|
|
|
|
|
|
/* For compatibility with perl 5.004 and older */
|
2001-07-29 05:17:53 -04: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 02:34:12 -05:00
|
|
|
#endif
|
|
|
|
|
2000-04-26 04:10:09 -04:00
|
|
|
#include "common.h"
|
|
|
|
|
2001-08-13 20:41:59 -04:00
|
|
|
#define MODULE_NAME "perl/core"
|
2001-10-20 09:19:25 -04:00
|
|
|
|
|
|
|
/* Change this every time when some API changes between irssi's perl module
|
|
|
|
and irssi's perl libraries. */
|
|
|
|
#define IRSSI_PERL_API_VERSION 20011020
|