diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-02-25 15:11:28 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-02-25 15:11:28 +0000 |
commit | 27bd069fdd0f917015e698e36bfc41a29daa63be (patch) | |
tree | 3dbbfe85bf26980e05bd30b10bf090c1bf0b3e32 /sv.h | |
parent | dedf8e73e174e139ce8f1fbbac255755b7d901a4 (diff) | |
download | perl-27bd069fdd0f917015e698e36bfc41a29daa63be.tar.gz |
Curiously none of the macros SvIVX, SvUVX or SvNVX are used on
typeglobs.
p4raw-id: //depot/perl@27325
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1019,6 +1019,7 @@ in gv.h: */ assert(SvTYPE(_svi) != SVt_PVAV); \ assert(SvTYPE(_svi) != SVt_PVHV); \ assert(SvTYPE(_svi) != SVt_PVCV); \ + assert(!isGV_with_GP(_svi)); \ &(((XPVIV*) SvANY(_svi))->xiv_iv); \ })) # define SvUVX(sv) \ @@ -1027,6 +1028,7 @@ in gv.h: */ assert(SvTYPE(_svi) != SVt_PVAV); \ assert(SvTYPE(_svi) != SVt_PVHV); \ assert(SvTYPE(_svi) != SVt_PVCV); \ + assert(!isGV_with_GP(_svi)); \ &(((XPVUV*) SvANY(_svi))->xuv_uv); \ })) # define SvNVX(sv) \ @@ -1035,6 +1037,7 @@ in gv.h: */ assert(SvTYPE(_svi) != SVt_PVAV); \ assert(SvTYPE(_svi) != SVt_PVHV); \ assert(SvTYPE(_svi) != SVt_PVFM); \ + assert(!isGV_with_GP(_svi)); \ &(((XPVNV*) SvANY(_svi))->xnv_nv); \ })) # define SvMAGIC(sv) \ |