> Date: Fri, 14 Mar 2008 19:45:46 +0100 > From: [EMAIL PROTECTED] > > > Aleks, Gerel, (others) I would like to hear your oppinion about if it > is worth to install this version. We would achieve some speedness in > the gnu pdf library code. No difference would be noted by the library > clients. >
Sure. You tried this implementation with pdf-filter.c which includes the generated pdf.h, right ? (doing 'make all') > > ==== pdf-list.h > > /* BEGIN PUBLIC */ > #include <stdbool.h> > /* END PUBLIC */ Is that include OK ?. I'm not sure if stdbool.h is system dependent, hence, I don't know if for example this header is available under win32 and it's being exported to pdf.h. > #ifndef HAVE_INLINE > > /* BEGIN PUBLIC */ > > [...] (normal function declarations) > > /* END PUBLIC */ > > #else > > #ifndef EXTERN_INLINE > #define EXTERN_INLINE extern inline > #endif /* EXTERN_INLINE */ > > #include <gl_array_list.h> > > [...] (Inlined version function definitions) > > #endif /* HAVE_INLINE */ > > #endif /* PDF_LIST_H */ > > /* End of pdf-list.h */ > > ===== pdf-list.c > > [...] (file header) > > #define EXTERN_INLINE > #include <pdf-list.h> > > /* End of pdf-list.c */ > Nice hack, jemarch I hate you :-) cheers -gerel
