mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 09:02:13 +02:00
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:
parent
f4aef7c706
commit
bebb9d3de8
2 changed files with 9 additions and 7 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue