utils: use 'static inline' instead of 'inline static' for gtk-doc

gtk-doc doesn't seem to recognise the former variant.
This commit is contained in:
Tim-Philipp Müller 2015-11-09 18:02:09 +00:00
parent 220dbfc13c
commit 09293bb63f

View file

@ -451,7 +451,7 @@ static inline guint16 __gst_slow_read16_le (const guint8 * data) {
* *
* Returns: @in byte-swapped. * Returns: @in byte-swapped.
*/ */
inline static gfloat static inline gfloat
GFLOAT_SWAP_LE_BE(gfloat in) GFLOAT_SWAP_LE_BE(gfloat in)
{ {
union union
@ -473,7 +473,7 @@ GFLOAT_SWAP_LE_BE(gfloat in)
* *
* Returns: @in byte-swapped. * Returns: @in byte-swapped.
*/ */
inline static gdouble static inline gdouble
GDOUBLE_SWAP_LE_BE(gdouble in) GDOUBLE_SWAP_LE_BE(gdouble in)
{ {
union union
@ -576,7 +576,7 @@ GDOUBLE_SWAP_LE_BE(gdouble in)
* *
* Returns: The floating point value read from @data * Returns: The floating point value read from @data
*/ */
inline static gfloat static inline gfloat
GST_READ_FLOAT_LE(const guint8 *data) GST_READ_FLOAT_LE(const guint8 *data)
{ {
union union
@ -597,7 +597,7 @@ GST_READ_FLOAT_LE(const guint8 *data)
* *
* Returns: The floating point value read from @data * Returns: The floating point value read from @data
*/ */
inline static gfloat static inline gfloat
GST_READ_FLOAT_BE(const guint8 *data) GST_READ_FLOAT_BE(const guint8 *data)
{ {
union union
@ -618,7 +618,7 @@ GST_READ_FLOAT_BE(const guint8 *data)
* *
* Returns: The double-precision floating point value read from @data * Returns: The double-precision floating point value read from @data
*/ */
inline static gdouble static inline gdouble
GST_READ_DOUBLE_LE(const guint8 *data) GST_READ_DOUBLE_LE(const guint8 *data)
{ {
union union
@ -639,7 +639,7 @@ GST_READ_DOUBLE_LE(const guint8 *data)
* *
* Returns: The double-precision floating point value read from @data * Returns: The double-precision floating point value read from @data
*/ */
inline static gdouble static inline gdouble
GST_READ_DOUBLE_BE(const guint8 *data) GST_READ_DOUBLE_BE(const guint8 *data)
{ {
union union
@ -659,7 +659,7 @@ GST_READ_DOUBLE_BE(const guint8 *data)
* *
* Store a 32 bit float value in little endian format into the memory buffer. * Store a 32 bit float value in little endian format into the memory buffer.
*/ */
inline static void static inline void
GST_WRITE_FLOAT_LE(guint8 *data, gfloat num) GST_WRITE_FLOAT_LE(guint8 *data, gfloat num)
{ {
union union
@ -679,7 +679,7 @@ GST_WRITE_FLOAT_LE(guint8 *data, gfloat num)
* *
* Store a 32 bit float value in big endian format into the memory buffer. * Store a 32 bit float value in big endian format into the memory buffer.
*/ */
inline static void static inline void
GST_WRITE_FLOAT_BE(guint8 *data, gfloat num) GST_WRITE_FLOAT_BE(guint8 *data, gfloat num)
{ {
union union
@ -699,7 +699,7 @@ GST_WRITE_FLOAT_BE(guint8 *data, gfloat num)
* *
* Store a 64 bit double value in little endian format into the memory buffer. * Store a 64 bit double value in little endian format into the memory buffer.
*/ */
inline static void static inline void
GST_WRITE_DOUBLE_LE(guint8 *data, gdouble num) GST_WRITE_DOUBLE_LE(guint8 *data, gdouble num)
{ {
union union
@ -719,7 +719,7 @@ GST_WRITE_DOUBLE_LE(guint8 *data, gdouble num)
* *
* Store a 64 bit double value in big endian format into the memory buffer. * Store a 64 bit double value in big endian format into the memory buffer.
*/ */
inline static void static inline void
GST_WRITE_DOUBLE_BE(guint8 *data, gdouble num) GST_WRITE_DOUBLE_BE(guint8 *data, gdouble num)
{ {
union union