docs: gtkdoc is not good at parsing inline functions in headers

Mark the inline function, so that gtkdoc skips them. Avoids some warnings about
unparsable declarations.
This commit is contained in:
Stefan Sauer 2014-02-15 21:22:45 +01:00
parent f47c704b99
commit b892b438cc
2 changed files with 2 additions and 4 deletions

View file

@ -3073,10 +3073,6 @@ GFLOAT_FROM_LE
GFLOAT_SWAP_LE_BE
GFLOAT_TO_BE
GFLOAT_TO_LE
GUINT16_SWAP_LE_BE
GUINT32_SWAP_LE_BE
GUINT64_SWAP_LE_BE
gst_guint64_to_gdouble
gst_gdouble_to_guint64

View file

@ -113,6 +113,7 @@ guint gst_util_group_id_next (void);
#define _GST_PUT(__data, __idx, __size, __shift, __num) \
(((guint8 *) (__data))[__idx] = (((guint##__size) (__num)) >> (__shift)) & 0xff)
#ifndef __GTK_DOC_IGNORE__
#if GST_HAVE_UNALIGNED_ACCESS
static inline guint16 __gst_fast_read16(const guint8 *v) {
return *(const guint16*)(v);
@ -135,6 +136,7 @@ static inline guint64 __gst_fast_read_swap64(const guint8 *v) {
# define _GST_FAST_READ(s, d) __gst_fast_read##s((const guint8 *)(d))
# define _GST_FAST_READ_SWAP(s, d) __gst_fast_read_swap##s((const guint8 *)(d))
#endif
#endif
/**