tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: UVM typedef struct
In message <20090616053752.GA8944%cs.hut.fi@localhost>, Antti Kantee writes:
>1) obfuscates code. there is no reason to tell if silly_t is an int,
> struct or pointer to something just by looking at the type
This is not necessarily a bad thing. It is sometimes unimportant to know
what the type is, as long as you know the interface provided for using it.
>2) impossible to provide forward declarations for interfaces using
> silly_t
?
int foo(silly_t);
-s
Home |
Main Index |
Thread Index |
Old Index