bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SIZEOF macro


From: Pádraig Brady
Subject: Re: SIZEOF macro
Date: Fri, 25 Dec 2009 01:33:01 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0

On 24/12/09 23:21, Eric Blake wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Bruno Haible on 12/24/2009 1:08 PM:
Either way we create macros.h and put ASSERT there

Done this this big commit, now.

Hmm.  macros.h defines SIZEOF, and test-argv-iter.c defines
ARRAY_CARDINALITY, both of which are used to determine the size of an
array.  I kind of prefer the name in test-argv-iter

Personally I dislike ARRAY_CARDINALITY as it's too verbose.
I use LENGTHOF in my personal code.

cheers,
Pádraig.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]