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: Thu, 13 Mar 2008 12:03:43 -0300

 > Date: Thu, 13 Mar 2008 15:54:57 +0100
 > From: address@hidden
 > 
 > 
 >     >    Another issue with pdf_list_t implementation. All inline functions 
 > are 
 >     >    declared in the .c source. If you actually want to allow the 
 > compiler 
 >     >    inline them, you need to define them in the header file. As 
 > inlining is 
 >     >    important in my opinion in such wrapper functions, I'd rather put 
 > them 
 >     >    in the .h.
 >     > 
 >     > Right. Thanks for the hint.
 > 
 >    So I should put pdf-list.c functions into pdf-list.h.
 > 
 >    Is the pdf-list.c file needed at all ?
 > 
 > Please leave the file. Even if it is empty it would be needed in the
 > future if we change the implementation.
 > 
 > 

Right. I think we actually need it . Because we can't include the inlined
definitions into pdf.h since we'd need to include gl_array_list.h too, in
contradiction with the List module purpose (hide gl_list).

-gerel




reply via email to

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