irssi_perl_interp -> my_perl and made it non-static. should help compiling

with some weird perl implementations.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1213 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-02-14 22:06:47 +00:00 committed by cras
commit bebb9d3de8
2 changed files with 9 additions and 7 deletions

View file

@ -1,6 +1,8 @@
#ifndef __PERL_COMMON_H
#define __PERL_COMMON_H
extern PerlInterpreter *my_perl; /* must be called my_perl or some perl implementations won't work */
/* helper defines */
#define new_pv(a) \
(newSVpv((a) == NULL ? "" : (a), (a) == NULL ? 0 : strlen(a)))