summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-05-23 08:09:58 +0000
committerNicholas Clark <nick@ccl4.org>2005-05-23 08:09:58 +0000
commit59813432f2817111929813f9e38a1c0faf9a26f3 (patch)
treef5a5ae01f3d5effbd2cd890127f5488ee7f79593 /sv.h
parent5735c168c62d0fa5cf526f0c7e7c97b069acef8f (diff)
downloadperl-59813432f2817111929813f9e38a1c0faf9a26f3.tar.gz
create an "allocated" structure for PVs, PVAVs and PVHVs
p4raw-id: //depot/perl@24544
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sv.h b/sv.h
index 518621d6a6..bfc4778f0b 100644
--- a/sv.h
+++ b/sv.h
@@ -280,6 +280,8 @@ struct xpv {
STRLEN xpv_len; /* allocated size */
};
+typedef struct xpv xpv_allocated;
+
struct xpviv {
IV xiv_iv; /* integer value or pv offset */
STRLEN xpv_cur; /* length of sv_pv as a C string */