summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-01-25 09:27:56 +0000
committerNicholas Clark <nick@ccl4.org>2010-05-21 07:03:51 +0100
commit6e1287864cd02fb6f429f12a995e1c08e03572b9 (patch)
tree26a68af882fe54347da6600cc410256b1d6cc625 /hv.h
parent601dfd0af0604fa7ed2cabe7f33a232b9b3908c0 (diff)
downloadperl-6e1287864cd02fb6f429f12a995e1c08e03572b9.tar.gz
In the SV body, exchange the positions of the NV and stash/magic.
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/hv.h b/hv.h
index f38d584d2c..438199455f 100644
--- a/hv.h
+++ b/hv.h
@@ -83,10 +83,11 @@ struct xpvhv_aux {
/* hash structure: */
/* This structure must match the beginning of struct xpvmg in sv.h. */
struct xpvhv {
- union _xnvu xnv_u;
+ HV* xmg_stash; /* class package */
+ union _xmgu xmg_u;
STRLEN xhv_fill; /* how full xhv_array currently is */
STRLEN xhv_max; /* subscript of last element of xhv_array */
- _XPVMG_HEAD;
+ union _xivu xiv_u;
};
#define xhv_keys xiv_u.xivu_iv