Re:Typedefs & Linus
by pieter on Thursday October 14, 2010 @06:35AM
(#1790453)
Why not? Just don't ship the definition of your struct in your headers, only declare them.
[ Parent
| on HN ]
The API is more confusing if they always have to lug around the extra * and type out struct if they can never dereference it. I am strongly in favor of typedefing pointer types that are strictly private.