> Date: Fri, 14 Mar 2008 19:22:10 -0300 > From: <[EMAIL PROTECTED]> > > > #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 >
BTW, what happens if HAVE_INLINE is not defined, is it possible ? because that way there wouldn't be any function definitions. -gerel
