|
From: | Paul Eggert |
Subject: | Re: EARRAYSIZE |
Date: | Fri, 04 Apr 2014 01:04:37 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
Eli Zaretskii wrote:
I suggested ALEN because we have AREF and ASIZE. Maybe AELTS or ALENGTH would be better.
The most common name for this macro in other projects is probably ARRAY_SIZE. That's what's in libiberty, for example. There are other names (ARRAY_CARDINALITY, SIZEOF) but ARRAY_SIZE seems to be more popular.
[Prev in Thread] | Current Thread | [Next in Thread] |