bufferlist: make objects opaque

This commit is contained in:
Wim Taymans 2009-05-12 16:18:48 +02:00
parent 19dc33935e
commit 2dcbe1a4d3
2 changed files with 20 additions and 20 deletions

View file

@ -131,10 +131,29 @@
#define GROUP_START NULL
static const gpointer STOLEN = "";
/**
* GstBufferList:
* @mini_object: the parent structure
*
* Opaque list of grouped buffers.
*/
struct _GstBufferList
{
GstMiniObject mini_object;
/*< private > */
GList *buffers;
};
struct _GstBufferListClass
{
GstMiniObjectClass mini_object_class;
};
/**
* GstBufferListIterator:
*
* Iterator for a #GstBufferList.
* Opaque iterator for a #GstBufferList.
*/
struct _GstBufferListIterator
{

View file

@ -82,25 +82,6 @@ typedef GstBuffer* (*GstBufferListDoFunction) (GstBuffer * buffer);
*/
typedef GstBuffer* (*GstBufferListDoDataFunction) (GstBuffer * buffer, gpointer data);
/**
* GstBufferList:
* @mini_object: the parent structure
*
* List of grouped buffers.
*/
struct _GstBufferList {
GstMiniObject mini_object;
/*< private >*/
GList *buffers;
gpointer _gst_reserved[GST_PADDING];
};
struct _GstBufferListClass {
GstMiniObjectClass mini_object_class;
};
GType gst_buffer_list_get_type (void);
/* allocation */