diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-07-18 19:32:50 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-08-22 20:49:37 +0100 |
commit | c8e503bfe4136506c95da755e0400990f539bb6a (patch) | |
tree | 24f9c95d2abb099c5cb955062e9bd4c9f6b342cb /sv.h | |
parent | 828dad175cf45f4e83d61df735a510f0314063c8 (diff) | |
download | perl-c8e503bfe4136506c95da755e0400990f539bb6a.tar.gz |
Eliminate *_ALLOCATED_HEAD and *_HEAD macros which are now used only once.
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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 */ |