An alternative would be to define pdf_list_t, pdf_list_iterator_t, etc much like the following:struct pdf_list_s { void *gl_list; /* Maybe more information... extensions, etc */ }; typedef pdf_list_s *pdf_list_t;
I agree with this proposal. This seems the best way to avoid including the real definition of gl_list_t in the public header of the library.
- Aleksander
