dataqueue: Hide from bindings

Other languages have their own data structures that are more convenient to
use.

https://bugzilla.gnome.org/show_bug.cgi?id=731303
This commit is contained in:
Sebastian Dröge 2014-06-26 19:31:33 +02:00
parent 0d5177b5fe
commit 4720e6d0e0
2 changed files with 20 additions and 17 deletions

View file

@ -142,7 +142,7 @@ gst_data_queue_class_init (GstDataQueueClass * klass)
/* signals */ /* signals */
/** /**
* GstDataQueue::empty: * GstDataQueue::empty: (skip)
* @queue: the queue instance * @queue: the queue instance
* *
* Reports that the queue became empty (empty). * Reports that the queue became empty (empty).
@ -156,7 +156,7 @@ gst_data_queue_class_init (GstDataQueueClass * klass)
g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
/** /**
* GstDataQueue::full: * GstDataQueue::full: (skip)
* @queue: the queue instance * @queue: the queue instance
* *
* Reports that the queue became full (full). * Reports that the queue became full (full).
@ -312,7 +312,7 @@ gst_data_queue_locked_is_full (GstDataQueue * queue)
} }
/** /**
* gst_data_queue_flush: * gst_data_queue_flush: (skip)
* @queue: a #GstDataQueue. * @queue: a #GstDataQueue.
* *
* Flushes all the contents of the @queue. Any call to #gst_data_queue_push and * Flushes all the contents of the @queue. Any call to #gst_data_queue_push and
@ -331,7 +331,7 @@ gst_data_queue_flush (GstDataQueue * queue)
} }
/** /**
* gst_data_queue_is_empty: * gst_data_queue_is_empty: (skip)
* @queue: a #GstDataQueue. * @queue: a #GstDataQueue.
* *
* Queries if there are any items in the @queue. * Queries if there are any items in the @queue.
@ -354,7 +354,7 @@ gst_data_queue_is_empty (GstDataQueue * queue)
} }
/** /**
* gst_data_queue_is_full: * gst_data_queue_is_full: (skip)
* @queue: a #GstDataQueue. * @queue: a #GstDataQueue.
* *
* Queries if @queue is full. This check will be done using the * Queries if @queue is full. This check will be done using the
@ -378,7 +378,7 @@ gst_data_queue_is_full (GstDataQueue * queue)
} }
/** /**
* gst_data_queue_set_flushing: * gst_data_queue_set_flushing: (skip)
* @queue: a #GstDataQueue. * @queue: a #GstDataQueue.
* @flushing: a #gboolean stating if the queue will be flushing or not. * @flushing: a #gboolean stating if the queue will be flushing or not.
* *
@ -426,7 +426,7 @@ gst_data_queue_push_force_unlocked (GstDataQueue * queue,
} }
/** /**
* gst_data_queue_push_force: * gst_data_queue_push_force: (skip)
* @queue: a #GstDataQueue. * @queue: a #GstDataQueue.
* @item: a #GstDataQueueItem. * @item: a #GstDataQueueItem.
* *
@ -474,7 +474,7 @@ flushing:
} }
/** /**
* gst_data_queue_push: * gst_data_queue_push: (skip)
* @queue: a #GstDataQueue. * @queue: a #GstDataQueue.
* @item: a #GstDataQueueItem. * @item: a #GstDataQueueItem.
* *
@ -558,7 +558,7 @@ _gst_data_queue_wait_non_empty (GstDataQueue * queue)
} }
/** /**
* gst_data_queue_pop: * gst_data_queue_pop: (skip)
* @queue: a #GstDataQueue. * @queue: a #GstDataQueue.
* @item: pointer to store the returned #GstDataQueueItem. * @item: pointer to store the returned #GstDataQueueItem.
* *
@ -628,7 +628,7 @@ is_of_type (gconstpointer a, gconstpointer b)
} }
/** /**
* gst_data_queue_peek: * gst_data_queue_peek: (skip)
* @queue: a #GstDataQueue. * @queue: a #GstDataQueue.
* @item: pointer to store the returned #GstDataQueueItem. * @item: pointer to store the returned #GstDataQueueItem.
* *
@ -683,7 +683,7 @@ flushing:
} }
/** /**
* gst_data_queue_drop_head: * gst_data_queue_drop_head: (skip)
* @queue: The #GstDataQueue to drop an item from. * @queue: The #GstDataQueue to drop an item from.
* @type: The #GType of the item to drop. * @type: The #GType of the item to drop.
* *
@ -731,7 +731,7 @@ done:
} }
/** /**
* gst_data_queue_limits_changed: * gst_data_queue_limits_changed: (skip)
* @queue: The #GstDataQueue * @queue: The #GstDataQueue
* *
* Inform the queue that the limits for the fullness check have changed and that * Inform the queue that the limits for the fullness check have changed and that
@ -755,7 +755,7 @@ gst_data_queue_limits_changed (GstDataQueue * queue)
} }
/** /**
* gst_data_queue_get_level: * gst_data_queue_get_level: (skip)
* @queue: The #GstDataQueue * @queue: The #GstDataQueue
* @level: the location to store the result * @level: the location to store the result
* *

View file

@ -43,7 +43,7 @@ typedef struct _GstDataQueueItem GstDataQueueItem;
typedef struct _GstDataQueuePrivate GstDataQueuePrivate; typedef struct _GstDataQueuePrivate GstDataQueuePrivate;
/** /**
* GstDataQueueItem: * GstDataQueueItem: (skip)
* @object: the #GstMiniObject to queue. * @object: the #GstMiniObject to queue.
* @size: the size in bytes of the miniobject. * @size: the size in bytes of the miniobject.
* @duration: the duration in #GstClockTime of the miniobject. Can not be * @duration: the duration in #GstClockTime of the miniobject. Can not be
@ -72,7 +72,7 @@ struct _GstDataQueueItem
}; };
/** /**
* GstDataQueueSize: * GstDataQueueSize: (skip)
* @visible: number of buffers * @visible: number of buffers
* @bytes: number of bytes * @bytes: number of bytes
* @time: amount of time * @time: amount of time
@ -87,7 +87,7 @@ struct _GstDataQueueSize
}; };
/** /**
* GstDataQueueCheckFullFunction: * GstDataQueueCheckFullFunction: (skip)
* @queue: a #GstDataQueue. * @queue: a #GstDataQueue.
* @visible: The number of visible items currently in the queue. * @visible: The number of visible items currently in the queue.
* @bytes: The amount of bytes currently in the queue. * @bytes: The amount of bytes currently in the queue.
@ -106,7 +106,7 @@ typedef void (*GstDataQueueFullCallback) (GstDataQueue * queue, gpointer checkda
typedef void (*GstDataQueueEmptyCallback) (GstDataQueue * queue, gpointer checkdata); typedef void (*GstDataQueueEmptyCallback) (GstDataQueue * queue, gpointer checkdata);
/** /**
* GstDataQueue: * GstDataQueue: (skip)
* @object: the parent structure * @object: the parent structure
* *
* Opaque #GstDataQueue structure. * Opaque #GstDataQueue structure.
@ -120,6 +120,9 @@ struct _GstDataQueue
gpointer _gst_reserved[GST_PADDING]; gpointer _gst_reserved[GST_PADDING];
}; };
/**
* GstDataQueueClass: (skip)
*/
struct _GstDataQueueClass struct _GstDataQueueClass
{ {
GObjectClass parent_class; GObjectClass parent_class;