summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-11-17 14:36:39 +0000
committerNicholas Clark <nick@ccl4.org>2005-11-17 14:36:39 +0000
commit028b03eea0e63d07351ac2ccc7021fcbf275ea04 (patch)
treeadf4c26cec1d7f2b1cbe978241a24ac1e18a867f /sv.h
parentf0f5dc9dd6402292e51fb413bf662b3e54145006 (diff)
downloadperl-028b03eea0e63d07351ac2ccc7021fcbf275ea04.tar.gz
Move the location of the definition of the arena slot used for pte
into sv.h, to keep it in one central place. Change it to use SVt_RV. (Having SVt_IV for real use will be useful. SVt_RV has no body, and doesn't pretend to have one, so it is spare.) p4raw-id: //depot/perl@26148
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 c9cf0fe351..a40d3b5ffb 100644
--- a/sv.h
+++ b/sv.h
@@ -63,6 +63,9 @@ typedef enum {
SVt_LAST /* keep last in enum. used to size arrays */
} svtype;
+#ifdef PERL_IN_SV_C
+#define PTE_SVSLOT SVt_RV
+#endif
/* typedefs to eliminate some typing */
typedef struct he HE;