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

Re: Apparent 4 avail bits in SV flags

Thread Previous | Thread Next
From:
Father Chrysostomos
Date:
February 10, 2017 20:57
Subject:
Re: Apparent 4 avail bits in SV flags
Message ID:
20170210205709.13265.qmail@lists-nntp.develooper.com
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About