tech-kern archive

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

Re: [PATCH] style(5): No struct typedefs




> On Jul 11, 2023, at 6:43 AM, Johnny Billquist <bqt%softjar.se@localhost> wrote:
> 
> typedefs in C don't really create new types. They are all just derivatives. Sometimes I even wonder why typedef exists in C. Feels like I could accomplish the same with a #define

Because #define generates pollution in unrelated things.

-- thorpej



Home | Main Index | Thread Index | Old Index