Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/compat/linux/common
On Feb 24, 10:22am, thorpej%shagadelic.org@localhost (Jason Thorpe) wrote:
-- Subject: Re: CVS commit: src/sys/compat/linux/common
|
| On Feb 24, 2005, at 8:58 AM, Christos Zoulas wrote:
|
| > Maybe "length" instead of "count" i.e. __arraylength()
| > And it probably belongs in stddef.h where offsetof() is defined.
|
| But it's counting the number of elements in the array.
I was thinking more in terms of the:
double [] array; array.length in java
| Why stddef.h? It's not a standards-defined macro. Or, should we also
| put __min() and __max() in stddef.h? (That certainly would not bother
| me one bit.)
Well, it might become standard and since it has __ in front of it it
does not pollute the namespace now.
christos
Home |
Main Index |
Thread Index |
Old Index