pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pdf-devel] Public API and gl_list


From: gerel
Subject: Re: [pdf-devel] Public API and gl_list
Date: Mon, 10 Mar 2008 19:10:23 -0300

 > Date: Mon, 10 Mar 2008 23:12:43 +0100
 > From: address@hidden
 > 
 > 
 >     >    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?
 > 
 > 

Hmmm, wait, I'm the one missing something. 

my apologizes.

-gerel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]