Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/sys



> > I would like to see us move towards more types that are opaque outside the 
> > subsystem that implements them.  Besides, "device_t" is a lot shorter than 
> > "struct device *".
> 
> This is probably a very stupid question, but... what I wonder is how to 
> get a "struct device foodev" that way,

you can't.  you don't need to do so, if you make it really opaque.

YAMAMOTO Takashi



Home | Main Index | Thread Index | Old Index