"jason" <ji***@notmal.comwrote in message
news:47**********************@dreader23.news.xs4al l.nl...
Hello,
I have a question regarding type definitions. I usually put them in
header files. But I recently came over several discussions on the www.
And now I'm not to sure anymore if they go in .c file or in the header
files ?
What would be the correct way ?
Thank you.
IMO, headerers are better.
this is also especially true in my case since I tend to use tools to
autogenerate the headers (function prototypes and so on), and so, not having
types in headers can make a very big mess with said autogenerated
prototypes...
Jas.