summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2011-09-30 13:48:58 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-10-06 13:01:20 -0700
commit84c7b88ccae183c236ad7ca5cdb8dd097de25420 (patch)
tree577a4bbf1ee6e20f10c3fd0065f5b3de8b54741d /embed.h
parent89a5757c96fe4f4c0a6bfec37e8037a7d311ee5a (diff)
downloadperl-84c7b88ccae183c236ad7ca5cdb8dd097de25420.tar.gz
whichsig nul-cleanup.
This adds _pv, _pvn, and _pv versions of whichsig() in mg.c, which get both kill "NAME" and %SIG lookup nul-clean.
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/embed.h b/embed.h
index 41c359c989..4c7cbe5ce8 100644
--- a/embed.h
+++ b/embed.h
@@ -695,7 +695,9 @@
#ifndef PERL_IMPLICIT_CONTEXT
#define warner Perl_warner
#endif
-#define whichsig(a) Perl_whichsig(aTHX_ a)
+#define whichsig_pv(a) Perl_whichsig_pv(aTHX_ a)
+#define whichsig_pvn(a,b) Perl_whichsig_pvn(aTHX_ a,b)
+#define whichsig_sv(a) Perl_whichsig_sv(aTHX_ a)
#if !(defined(HAS_SIGACTION) && defined(SA_SIGINFO))
#define csighandler Perl_csighandler
#endif