[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] [RFC] Signature API
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] [RFC] Signature API |
Date: |
Wed, 4 Mar 2009 22:25:06 +0100 |
User-agent: |
Mutt/1.5.11 |
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.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)