summaryrefslogtreecommitdiff
path: root/src/perl/perl-common.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-09-19 14:30:10 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-09-19 14:30:10 +0000
commitf31b59b48b8bba81f2a0396e87eded5a616ab567 (patch)
tree43cb0e06dbdfbbc77cc7414851fdd73ead599426 /src/perl/perl-common.c
parentfe73785c7a3573b89323bb4ee88d3c67b97707e2 (diff)
downloadirssi-f31b59b48b8bba81f2a0396e87eded5a616ab567.zip
support for threaded perl. patch by mls@suse.de
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2930 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/perl-common.c')
-rw-r--r--src/perl/perl-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/perl/perl-common.c b/src/perl/perl-common.c
index a3a599ac..cad117fc 100644
--- a/src/perl/perl-common.c
+++ b/src/perl/perl-common.c
@@ -219,12 +219,12 @@ char *perl_get_use_list(void)
return ret;
}
-void irssi_callXS(void (*subaddr)(CV* cv), CV *cv, SV **mark)
+void irssi_callXS(void (*subaddr)(pTHX_ CV* cv), CV *cv, SV **mark)
{
dSP;
PUSHMARK(mark);
- (*subaddr)(cv);
+ (*subaddr)(aTHX_ cv);
PUTBACK;
}