* Since: 0.10.33
*/
+G_DEFINE_BOXED_TYPE (GstAtomicQueue, gst_atomic_queue,
+ (GBoxedCopyFunc) gst_atomic_queue_ref,
+ (GBoxedFreeFunc) gst_atomic_queue_unref);
+
/* By default the queue uses 2 * sizeof(gpointer) * clp2 (max_items) of
* memory. clp2(x) is the next power of two >= than x.
*
*
* Peek the head element of the queue without removing it from the queue.
*
- * Returns: the head element of @queue or NULL when the queue is empty.
+ * Returns: (transfer none): the head element of @queue or NULL when
+ * the queue is empty.
*
* Since: 0.10.33
*/
*
* Get the head element of the queue.
*
- * Returns: the head element of @queue or NULL when the queue is empty.
+ * Returns: (transfer full): the head element of @queue or NULL when
+ * the queue is empty.
*
* Since: 0.10.33
*/