From 84c7b88ccae183c236ad7ca5cdb8dd097de25420 Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Fri, 30 Sep 2011 13:48:58 -0700 Subject: 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. --- mg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mg.h') diff --git a/mg.h b/mg.h index 848f735d6c..53ef628751 100644 --- a/mg.h +++ b/mg.h @@ -61,6 +61,8 @@ struct magic { #define SvTIED_obj(sv,mg) \ ((mg)->mg_obj ? (mg)->mg_obj : sv_2mortal(newRV(sv))) +#define whichsig(pv) whichsig_pv(pv) + /* * Local variables: * c-indentation-style: bsd -- cgit v1.2.1