[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EARRAYSIZE
From: |
Eli Zaretskii |
Subject: |
Re: EARRAYSIZE |
Date: |
Fri, 04 Apr 2014 11:15:32 +0300 |
> Date: Fri, 04 Apr 2014 12:06:59 +0400
> From: Dmitry Antipov <address@hidden>
> CC: address@hidden
>
> On 04/04/2014 11:45 AM, Eli Zaretskii wrote:
>
> > I suggested ALEN because we have AREF and ASIZE. Maybe AELTS or
> > ALENGTH would be better.
>
> IMO this will confuse the reader because AREF and ASIZE are for Lisp_Objects
> and not for C arrays.
It could, yes.
> What about MS-style countof
> (http://msdn.microsoft.com/en-us/library/ms175773%28v=VS.100%29.aspx)?
I'd prefer a capitalized name, FWIW.