sv_clear can manipulate the arena array directly too.
[p5sagit/p5-mst-13.2.git] / sv.h
diff --git a/sv.h b/sv.h
index f5a3125..a40d3b5 100644 (file)
--- a/sv.h
+++ b/sv.h
@@ -59,9 +59,13 @@ typedef enum {
        SVt_PVHV,       /* 12 */
        SVt_PVCV,       /* 13 */
        SVt_PVFM,       /* 14 */
-       SVt_PVIO        /* 15 */
+       SVt_PVIO,       /* 15 */
+       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;