[cffi-devel] Re: implicit defbitfield symbol values

Martin Simmons martin at lispworks.com
Fri May 12 20:06:52 UTC 2006


>>>>> On Fri, 12 May 2006 10:08:13 -0500, Stephen Compall <s11 at member.fsf.org> said:
> 
> On Fri, 2006-05-12 at 14:01 +0100, Lu=C3=ADs Oliveira wrote:
> > > I was thinking, though, should the starting point be 0 or 1?  I don't
> > > know which more people would expect, and selected 0 because that's what
> > > the defbitfield doc in the manual seemed to imply.
> >=20
> > Hmm. Now that you mention it, 1 probably makes more sense.
> 
> http://scompall.nocandysw.com/cffi/dbf-value-is-1.darcs.patch
> 
> I just love it when there's a good place to use PROG1.

Hey, but don't waste a good opportunity to use SHIFTF :-)

__Martin



More information about the cffi-devel mailing list