summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sv.h b/sv.h
index bfc4778f0b..2fb5f4d97e 100644
--- a/sv.h
+++ b/sv.h
@@ -280,7 +280,14 @@ struct xpv {
STRLEN xpv_len; /* allocated size */
};
+#if 0
typedef struct xpv xpv_allocated;
+#else
+typedef struct {
+ STRLEN xpv_cur; /* length of sv_pv as a C string */
+ STRLEN xpv_len; /* allocated size */
+} xpv_allocated;
+#endif
struct xpviv {
IV xiv_iv; /* integer value or pv offset */