> -----Original Message-----
> From: 
> [email protected] 
> [mailto:avr-libc-dev-bounces+eweddington=cso.atmel....@nongnu.
> org] On Behalf Of Joerg Wunsch
> Sent: Wednesday, March 04, 2009 2:25 PM
> To: [email protected]
> Subject: Re: [avr-libc-dev] [RFC] Signature API
> 
> As Weddington, Eric wrote:
> 
> > > I wonder whether there's a point in using a struct rather than a
> > > three-byte array?
> 
> > In theory, it doesn't really matter. It seems the OP (on the Freaks
> > thread) did a little copy and past from the fuses header file. Is
> > there a reason you have for the preference?
> 
> Bloat.  One more struct tag etc. -- and I don't see any gain of it,
> compared to the array.  Array initialization is a well-defined thing
> since the old K&R days, so there's no ambiguity involved.

Point. I'll work up an alternative, and add docs.

Since we're in the middle of a release, I'll hold off on this until 1.6.6.


_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to