summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-07-18 19:32:50 +0100
committerNicholas Clark <nick@ccl4.org>2009-08-22 20:49:37 +0100
commitc8e503bfe4136506c95da755e0400990f539bb6a (patch)
tree24f9c95d2abb099c5cb955062e9bd4c9f6b342cb /sv.h
parent828dad175cf45f4e83d61df735a510f0314063c8 (diff)
downloadperl-c8e503bfe4136506c95da755e0400990f539bb6a.tar.gz
Eliminate *_ALLOCATED_HEAD and *_HEAD macros which are now used only once.
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/sv.h b/sv.h
index f8670c7b03..55674f643a 100644
--- a/sv.h
+++ b/sv.h
@@ -398,13 +398,10 @@ perform the upgrade if necessary. See C<svtype>.
/* RV upwards. However, SVf_ROK and SVp_IOK are exclusive */
#define SVprv_WEAKREF 0x80000000 /* Weak reference */
-#define _XPV_ALLOCATED_HEAD \
- STRLEN xpv_cur; /* length of svu_pv as a C string */ \
- STRLEN xpv_len /* allocated size */
-
#define _XPV_HEAD \
union _xnvu xnv_u; \
- _XPV_ALLOCATED_HEAD
+ STRLEN xpv_cur; /* length of svu_pv as a C string */ \
+ STRLEN xpv_len /* allocated size */
union _xnvu {
NV xnv_nv; /* numeric value, if any */