[cffi-devel] implicit defbitfield symbol values

Saw this was documented but not implemented.... http://scompall.nocandysw.com/cffi/implicit-defbitfield-values.darcs.patch Thu May 11 02:21:06 CDT 2006 Stephen Compall <scompall@nocandysw.com> * implicit defbitfield symbol values - Foreign Type Translators: defctype does not create Lisp types; you have to use eql specializers. - enum.lisp: Use reduce in %foreign-bitfield-value. Code a default rule for bitfield symbol values. -- Stephen Compall http://scompall.nocandysw.com/blog

Stephen Compall <s11@member.fsf.org> writes:
http://scompall.nocandysw.com/cffi/implicit-defbitfield-values.darcs.patch
Pushed. Thanks. -- Luís Oliveira luismbo (@) gmail (.) com Equipa Portuguesa do Translation Project http://www.iro.umontreal.ca/translation/registry.cgi?team=pt

On Thu, 2006-05-11 at 13:05 +0100, Luís Oliveira wrote:
Pushed. Thanks.
http://scompall.nocandysw.com/cffi/single-bits-only.darcs.patch contains some followups. 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. -- Stephen Compall http://scompall.nocandysw.com/blog

Stephen Compall <s11@member.fsf.org> writes:
http://scompall.nocandysw.com/cffi/single-bits-only.darcs.patch contains some followups.
Pushed. Thanks.
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.
Hmm. Now that you mention it, 1 probably makes more sense. -- Luís Oliveira luismbo (@) gmail (.) com Equipa Portuguesa do Translation Project http://www.iro.umontreal.ca/translation/registry.cgi?team=pt

On Fri, 2006-05-12 at 14:01 +0100, Luís 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.
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. -- Stephen Compall http://scompall.nocandysw.com/blog

On Fri, 12 May 2006 10:08:13 -0500, Stephen Compall <s11@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
participants (3)
-
Luís Oliveira
-
Martin Simmons
-
Stephen Compall