Marc Nieper-Wißkirchen wrote:
> My main point, however, was more about the consistency;
> gl_list_iterator_t, for example, hides a quite large structure.

In gl_list.h, there are 3 pointer types (some with 'const') and
1 non-pointer type. The typedefs are there to simplify the API for
the programmer.

Whereas in string-buffer.h, there is 1 type: 'struct string_buffer'.
A typedef would not make the API simpler to remember.

Like with obstack.h, which has 'struct obstack' as the only publicly
visible type. A typedef would not make it simpler here either.

Bruno




Reply via email to