diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-02-20 09:26:15 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-02-20 09:26:15 +0000 |
commit | 4608196e45589eea5792cff92b551109899ddb06 (patch) | |
tree | 584bcc5d3498ebc1d76f0afe65ce7c97e95768b5 /mg.h | |
parent | bcb11275f9e8e4324ef33449c82bea92e44f6386 (diff) | |
download | perl-4608196e45589eea5792cff92b551109899ddb06.tar.gz |
More NullXXX macro removal from Andy Lester
p4raw-id: //depot/perl@27238
Diffstat (limited to 'mg.h')
-rw-r--r-- | mg.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -57,7 +57,6 @@ struct magic { SvPV_nolen_const((SV*)((mg)->mg_ptr)) : \ (const char*)(mg)->mg_ptr) -#define SvTIED_mg(sv,how) \ - (SvRMAGICAL(sv) ? mg_find((sv),(how)) : Null(MAGIC*)) +#define SvTIED_mg(sv,how) (SvRMAGICAL(sv) ? mg_find((sv),(how)) : NULL) #define SvTIED_obj(sv,mg) \ ((mg)->mg_obj ? (mg)->mg_obj : sv_2mortal(newRV(sv))) |