diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-02-20 20:32:09 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-02-20 20:32:09 +0000 |
commit | 232d1c150c060ca27ef1d2d4770fed5de0e66c01 (patch) | |
tree | ba81050432f932d6f4222a4e57810bb137cf62c9 /sv.h | |
parent | 4ad10cd17301f4dcbb1ffda3d12c2a32aaa98602 (diff) | |
download | perl-232d1c150c060ca27ef1d2d4770fed5de0e66c01.tar.gz |
Steal code from maint, and use PERL_ARENA_ROOTS_SIZE to size the arena
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
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -75,6 +75,8 @@ typedef enum { #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; |