[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] Inlined version of pdf-list.[ch]
From: |
gerel |
Subject: |
Re: [pdf-devel] Inlined version of pdf-list.[ch] |
Date: |
Fri, 14 Mar 2008 19:31:02 -0300 |
> Date: Fri, 14 Mar 2008 19:22:10 -0300
> From: <address@hidden>
>
> > #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