summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-02-25 15:11:28 +0000
committerNicholas Clark <nick@ccl4.org>2006-02-25 15:11:28 +0000
commit27bd069fdd0f917015e698e36bfc41a29daa63be (patch)
tree3dbbfe85bf26980e05bd30b10bf090c1bf0b3e32 /sv.h
parentdedf8e73e174e139ce8f1fbbac255755b7d901a4 (diff)
downloadperl-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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sv.h b/sv.h
index c509ac6649..1d62a88597 100644
--- a/sv.h
+++ b/sv.h
@@ -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) \