summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-11-19 00:21:58 +0000
committerNicholas Clark <nick@ccl4.org>2005-11-19 00:21:58 +0000
commit6a93a7e5bbd9f0bd3bf729ac738270ae82ef9448 (patch)
tree4b60093630597983e09296bcc1e39fe8e396bcdd /sv.h
parent89e6eba15d11fe2c88c5f730266690dac444f520 (diff)
downloadperl-6a93a7e5bbd9f0bd3bf729ac738270ae82ef9448.tar.gz
Map the HE arena onto SV type 0 (SVt_NULL).
Abolish PL_he_root and PL_he_arenaroot. p4raw-id: //depot/perl@26171
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sv.h b/sv.h
index a40d3b5ffb..75cf82d820 100644
--- a/sv.h
+++ b/sv.h
@@ -66,6 +66,9 @@ typedef enum {
#ifdef PERL_IN_SV_C
#define PTE_SVSLOT SVt_RV
#endif
+#if defined(PERL_IN_HV_C) || defined(PERL_IN_XS_APITEST)
+#define HE_SVSLOT SVt_NULL
+#endif
/* typedefs to eliminate some typing */
typedef struct he HE;