arrays, rather than SVt_LAST, so that SVt_LAST can truthfully remain
the number of genuine SV types, unclouded by implementation details.
p4raw-id: //depot/perl@27251
PERLVAR(Isighandlerp, Sighandler_t)
-PERLVARA(Ibody_roots, SVt_LAST, void*) /* array of body roots */
+PERLVARA(Ibody_roots, PERL_ARENA_ROOTS_SIZE, void*) /* array of body roots */
PERLVAR(Inice_chunk, char *) /* a nice chunk of memory to reuse */
PERLVAR(Inice_chunk_size, U32) /* how nice the chunk of memory is */
S_free_arena(aTHX_ (void**) PL_body_arenas);
#endif
- for (i=0; i<SVt_LAST; i++)
+ for (i=0; i<PERL_ARENA_ROOTS_SIZE; i++)
PL_body_roots[i] = 0;
Safefree(PL_nice_chunk);
#define HE_SVSLOT SVt_NULL
#endif
+#define PERL_ARENA_ROOTS_SIZE (SVt_LAST)
+
/* typedefs to eliminate some typing */
typedef struct he HE;
typedef struct hek HEK;