mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Recognise a param of signal_emit from perl if it's an int
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3311 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
3beaacf9ee
commit
64c6af7865
@ -75,6 +75,8 @@ CODE:
|
||||
p[n-1] = irssi_ref_object(ST(n));
|
||||
else if (SvROK(ST(n)))
|
||||
p[n-1] = (void *) SvIV((SV*)SvRV(ST(n)));
|
||||
else if (SvIOK(ST(n)))
|
||||
p[n-1] = (void *)SvIV(ST(n));
|
||||
else
|
||||
p[n-1] = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user