summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-04-11 19:26:48 +0000
committerNicholas Clark <nick@ccl4.org>2006-04-11 19:26:48 +0000
commitcbb1fbeae87953fd0cb732e37262675ddbb9ffdd (patch)
tree627482c26fdb242e6cc20f6dd1b55bbdccacf8bd /hv.h
parent409dfe773507bb644ee4393d7be6447672587c1d (diff)
downloadperl-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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/hv.h b/hv.h
index 4ae5e1af71..223acdb51c 100644
--- a/hv.h
+++ b/hv.h
@@ -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 */
};