diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-04-11 19:26:48 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-04-11 19:26:48 +0000 |
commit | cbb1fbeae87953fd0cb732e37262675ddbb9ffdd (patch) | |
tree | 627482c26fdb242e6cc20f6dd1b55bbdccacf8bd /hv.h | |
parent | 409dfe773507bb644ee4393d7be6447672587c1d (diff) | |
download | perl-cbb1fbeae87953fd0cb732e37262675ddbb9ffdd.tar.gz |
First stab at using the pad to store the serialised hints data.
This approach is almost certainly not only wrong, but also doomed.
But it's needed to build a correct solution.
p4raw-id: //depot/perl@27768
Diffstat (limited to 'hv.h')
-rw-r--r-- | hv.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -388,8 +388,14 @@ C<SV*>. struct refcounted_he { struct refcounted_he *refcounted_he_next; /* next entry in chain */ +#ifdef USE_ITHREADS + PAD *refcounted_he_pad; + PADOFFSET refcounted_he_hek; + PADOFFSET refcounted_he_val; +#else HEK *refcounted_he_hek; /* hint key */ SV *refcounted_he_val; /* hint value */ +#endif U32 refcounted_he_refcnt; /* reference count */ }; |