develooper Front page | perl.perl5.porters | Postings from February 2017

Re: Apparent 4 avail bits in SV flags

Thread Previous | Thread Next
Father Chrysostomos
February 10, 2017 20:57
Re: Apparent 4 avail bits in SV flags
Message ID:
Karl Williamson wrote:
> It looks to me, and others on #p5p that there are 4 unused bits in the
> flags for an SV.
> The types take up 4 bits, but then the actual flags, like SVf_IOK, start
> at 0x100.  That apparently means bits  matching the mask 0xF0 are
> available.  Are we wrong?

0xFF is a type.  It means the SV is freed.  (But that is not to say we
could not change it.  Rather, there might be another reason not to
change it.)

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About