diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-05-24 17:13:34 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-05-24 17:13:34 +0000 |
commit | 199f3245d0efbd4bc138ab358c5f5889c79d7083 (patch) | |
tree | 0114ad72ddd80bc2a7adeac01a31537fcbe8040b /hv.h | |
parent | 008fb49c17496ad9d8e3abe1ff0dc992e9aa5beb (diff) | |
download | perl-199f3245d0efbd4bc138ab358c5f5889c79d7083.tar.gz |
Reorder the union to cause Win32 compilers to use void * alignment for
it.
p4raw-id: //depot/perl@24569
Diffstat (limited to 'hv.h')
-rw-r--r-- | hv.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,7 +46,6 @@ struct xpvhv { STRLEN xhv_fill; /* how full xhv_array currently is */ STRLEN xhv_max; /* subscript of last element of xhv_array */ union { - NV xnvu_nv; /* numeric value, if any */ struct { void *xnv_p1; union { @@ -54,6 +53,7 @@ struct xpvhv { IV xnv_i2; /* how many elements in the array */ } xnv_u2; } xnv_s; + NV xnvu_nv; /* numeric value, if any */ } xnv_u; MAGIC* xmg_magic; /* magic for scalar array */ HV* xmg_stash; /* class package */ |