mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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:
parent
f47c704b99
commit
b892b438cc
2 changed files with 2 additions and 4 deletions
|
@ -3073,10 +3073,6 @@ GFLOAT_FROM_LE
|
||||||
GFLOAT_SWAP_LE_BE
|
GFLOAT_SWAP_LE_BE
|
||||||
GFLOAT_TO_BE
|
GFLOAT_TO_BE
|
||||||
GFLOAT_TO_LE
|
GFLOAT_TO_LE
|
||||||
GUINT16_SWAP_LE_BE
|
|
||||||
GUINT32_SWAP_LE_BE
|
|
||||||
GUINT64_SWAP_LE_BE
|
|
||||||
|
|
||||||
|
|
||||||
gst_guint64_to_gdouble
|
gst_guint64_to_gdouble
|
||||||
gst_gdouble_to_guint64
|
gst_gdouble_to_guint64
|
||||||
|
|
|
@ -113,6 +113,7 @@ guint gst_util_group_id_next (void);
|
||||||
#define _GST_PUT(__data, __idx, __size, __shift, __num) \
|
#define _GST_PUT(__data, __idx, __size, __shift, __num) \
|
||||||
(((guint8 *) (__data))[__idx] = (((guint##__size) (__num)) >> (__shift)) & 0xff)
|
(((guint8 *) (__data))[__idx] = (((guint##__size) (__num)) >> (__shift)) & 0xff)
|
||||||
|
|
||||||
|
#ifndef __GTK_DOC_IGNORE__
|
||||||
#if GST_HAVE_UNALIGNED_ACCESS
|
#if GST_HAVE_UNALIGNED_ACCESS
|
||||||
static inline guint16 __gst_fast_read16(const guint8 *v) {
|
static inline guint16 __gst_fast_read16(const guint8 *v) {
|
||||||
return *(const guint16*)(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(s, d) __gst_fast_read##s((const guint8 *)(d))
|
||||||
# define _GST_FAST_READ_SWAP(s, d) __gst_fast_read_swap##s((const guint8 *)(d))
|
# define _GST_FAST_READ_SWAP(s, d) __gst_fast_read_swap##s((const guint8 *)(d))
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue