[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-libc-dev] [RFC] Signature API
From: |
Weddington, Eric |
Subject: |
RE: [avr-libc-dev] [RFC] Signature API |
Date: |
Wed, 4 Mar 2009 14:31:14 -0700 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Joerg Wunsch
> Sent: Wednesday, March 04, 2009 2:25 PM
> To: address@hidden
> 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.