mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
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:
parent
220dbfc13c
commit
09293bb63f
1 changed files with 10 additions and 10 deletions
|
@ -451,7 +451,7 @@ static inline guint16 __gst_slow_read16_le (const guint8 * data) {
|
|||
*
|
||||
* Returns: @in byte-swapped.
|
||||
*/
|
||||
inline static gfloat
|
||||
static inline gfloat
|
||||
GFLOAT_SWAP_LE_BE(gfloat in)
|
||||
{
|
||||
union
|
||||
|
@ -473,7 +473,7 @@ GFLOAT_SWAP_LE_BE(gfloat in)
|
|||
*
|
||||
* Returns: @in byte-swapped.
|
||||
*/
|
||||
inline static gdouble
|
||||
static inline gdouble
|
||||
GDOUBLE_SWAP_LE_BE(gdouble in)
|
||||
{
|
||||
union
|
||||
|
@ -576,7 +576,7 @@ GDOUBLE_SWAP_LE_BE(gdouble in)
|
|||
*
|
||||
* Returns: The floating point value read from @data
|
||||
*/
|
||||
inline static gfloat
|
||||
static inline gfloat
|
||||
GST_READ_FLOAT_LE(const guint8 *data)
|
||||
{
|
||||
union
|
||||
|
@ -597,7 +597,7 @@ GST_READ_FLOAT_LE(const guint8 *data)
|
|||
*
|
||||
* Returns: The floating point value read from @data
|
||||
*/
|
||||
inline static gfloat
|
||||
static inline gfloat
|
||||
GST_READ_FLOAT_BE(const guint8 *data)
|
||||
{
|
||||
union
|
||||
|
@ -618,7 +618,7 @@ GST_READ_FLOAT_BE(const guint8 *data)
|
|||
*
|
||||
* Returns: The double-precision floating point value read from @data
|
||||
*/
|
||||
inline static gdouble
|
||||
static inline gdouble
|
||||
GST_READ_DOUBLE_LE(const guint8 *data)
|
||||
{
|
||||
union
|
||||
|
@ -639,7 +639,7 @@ GST_READ_DOUBLE_LE(const guint8 *data)
|
|||
*
|
||||
* Returns: The double-precision floating point value read from @data
|
||||
*/
|
||||
inline static gdouble
|
||||
static inline gdouble
|
||||
GST_READ_DOUBLE_BE(const guint8 *data)
|
||||
{
|
||||
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.
|
||||
*/
|
||||
inline static void
|
||||
static inline void
|
||||
GST_WRITE_FLOAT_LE(guint8 *data, gfloat num)
|
||||
{
|
||||
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.
|
||||
*/
|
||||
inline static void
|
||||
static inline void
|
||||
GST_WRITE_FLOAT_BE(guint8 *data, gfloat num)
|
||||
{
|
||||
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.
|
||||
*/
|
||||
inline static void
|
||||
static inline void
|
||||
GST_WRITE_DOUBLE_LE(guint8 *data, gdouble num)
|
||||
{
|
||||
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.
|
||||
*/
|
||||
inline static void
|
||||
static inline void
|
||||
GST_WRITE_DOUBLE_BE(guint8 *data, gdouble num)
|
||||
{
|
||||
union
|
||||
|
|
Loading…
Reference in a new issue