> Ah, ok it doesn't matter. Going with pointers anyway.
>
> Ok :)
>
I found a problem.
This is the declaration of gl_list_iterator_t,
typedef struct
{
/* For fast dispatch of gl_list_iterator_next. */
const struct gl_list_implementation *vtable;
/* For detecting whether the last returned element was removed. */
gl_list_t list;
size_t count;
/* Other, implementation-private fields. */
void *p; void *q;
size_t i; size_t j;
} gl_list_iterator_t;
I think we can't convert that to (void*).
One solution would be to paste that right on pdf-list.h but it's not an
alternative, since we won't gain anything after all if we mix detailed
structures with (void*) pointer structures.
I'm stuck here.
What is the problem? You can cast a void* pointer to a
gl_list_iterator_t* pointer. Am I missing something?