This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: infra: add CYG_ARRAY_SIZE() macro


On Wed, May 17, 2006 at 05:13:47PM +0100, David Vrabel wrote:
> I've had to use something like this quite a bit so I guess it's useful
> enough to include.  It does the same thing as Linux's ARRAY_SIZE macro.

I've always called this NELEM. 

Is this defined in any standard anywhere? 

   Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]