On Wed, 29 Nov 2006, Nick Piggin wrote:
>
> You are saying that they should only be used to create new "primitive"
> types (ie. that you can use in arithmetic / logical ops) that can
> change depending on the config.
Well, it doesn't have to be something that is "arithmetic".
For an example of
Linus Torvalds wrote:
So typedefs are good for
- "u8"/"u16"/"u32"/"u64" kind of things, where the underlying types
really are potentially different on different architectures.
- "sector_t"-like things which may be 32-bit or 64-bit depending on some
CONFIG_LBD option or other.
- a
2 matches
Mail list logo