diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-09-27 09:40:58 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-09-27 09:40:58 +0000 |
commit | 756c5c2b691752248a1635194088c45476f496bb (patch) | |
tree | 7eb790b2bca693e9ad6fd5860992b8897dd8f1e4 /intrpvar.h | |
parent | d06ba26fc102532bdf6df01ab901e45d08871de6 (diff) | |
download | perl-756c5c2b691752248a1635194088c45476f496bb.tar.gz |
Move the bool v_string_ok into the U16-sized gap in the interpreter
structure. Add a "spare" variable so that we can add the first post-
5.10.0 bool variable without growing the interpreter structure.
p4raw-id: //depot/perl@31987
Diffstat (limited to 'intrpvar.h')
-rw-r--r-- | intrpvar.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/intrpvar.h b/intrpvar.h index 6fd9b5d3db..0c7659acef 100644 --- a/intrpvar.h +++ b/intrpvar.h @@ -162,7 +162,13 @@ PERLVAR(Iregdummy, regnode) /* from regcomp.c */ PERLVARI(Idumpindent, U16, 4) /* number of blanks per dump indentation level */ -/* Space for U16 here without increasing the structure size */ +PERLVARI(Iv_string_ok, bool, FALSE) /* use/require v_string OK */ + +/* This would be space for U8 here without increasing the structure size + so name the space, so that the first post 5.10 need for a bool can use this + rather than padding at the end. */ + +PERLVARI(Ispare_510, bool, FALSE) /* */ PERLVARA(Icolors,6, char *) /* from regcomp.c */ @@ -670,8 +676,6 @@ PERLVARI(Islab_count, U32, 0) /* Size of the array */ PERLVARI(Iisarev, HV*, NULL) /* Reverse map of @ISA dependencies */ -PERLVARI(Iv_string_ok, bool, FALSE) /* use/require v_string OK */ - /* If you are adding a U8 or U16, see the 'Space' comments above on where * there are gaps which currently will be structure padding. */ |