Skip to content

Commit

Permalink
bitreader, bytereader: add some FIXME 0.11 comments and fix indenting
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim-Philipp Müller committed Sep 6, 2009
1 parent 4c103b0 commit 96a565b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/gst/base/gstbitreader.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

#include <string.h>

/* FIXME 0.11: inline everything and get rid of non-inlined functions */

/**
* SECTION:gstbitreader
* @short_description: Reads any number of bits from a memory buffer
Expand Down
2 changes: 2 additions & 0 deletions libs/gst/base/gstbitreader.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

#include <gst/gst.h>

/* FIXME: inline functions */

G_BEGIN_DECLS

/**
Expand Down
6 changes: 6 additions & 0 deletions libs/gst/base/gstbytereader.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@

#include <string.h>

/* FIXME 0.11: inline everything and get rid of non-inlined functions */

/**
* SECTION:gstbytereader
* @short_description: Reads different integer, string and floating point
Expand Down Expand Up @@ -712,6 +714,8 @@ gst_byte_reader_peek_##name (GstByteReader * reader, type * val) \
return _gst_byte_reader_peek_##name##_inline (reader, val); \
}

/* *INDENT-OFF* */

GST_BYTE_READER_PEEK_GET(8,guint8,uint8)
GST_BYTE_READER_PEEK_GET(8,gint8,int8)

Expand Down Expand Up @@ -844,6 +848,8 @@ GST_BYTE_READER_PEEK_GET(32,gfloat,float32_be)
GST_BYTE_READER_PEEK_GET(64,gdouble,float64_le)
GST_BYTE_READER_PEEK_GET(64,gdouble,float64_be)

/* *INDENT-ON* */

/**
* gst_byte_reader_get_data:
* @reader: a #GstByteReader instance
Expand Down

0 comments on commit 96a565b

Please sign in to comment.