May 26, 2009
7:02 p.m.
<<On Tue, 26 May 2009 11:00:03 -0700, Guy Harris <guy@alum.mit.edu> said:
zoneinfo_t is implemented, internally, as a pointer to a "struct state", but it's opaque to the callers.
There is no such thing as an "opaque typedef". Using typedefs like this creates #include spaghetti, obscures dependencies, and ultimately reduces type safety. The only type-safe opaque types C has are "struct <foo> *" and "union <foo> *". -GAWollman