Bug in wimp.h
Jonathan Coxhead
jonathan at doves.demon.co.uk
Tue Aug 22 01:40:28 BST 2000
On 8 Aug 00, at 17:22, Chris Rutter wrote:
| On Tue, 08 Aug 2000 15:40:26 David Bryan wrote:
|
| > How about, char name[12], as an aid memoir? This still doesn't
| > warn of the necessary condition of word alignment.
|
| Is it meaningful or legal to declare the size of an array in a function
| prototype? (I didn't think it was.)
It's meaningful and legal, but it's just a comment.
int f (int x [12]) {...}
and
int f (int *x) {...}
mean exactly the same thing.
/|
o o o (_|/
/|
(_/
More information about the oslib-user
mailing list