* 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.
*
G_BEGIN_DECLS
+#define GST_TYPE_ATOMIC_QUEUE (gst_atomic_queue_get_type())
+
/**
* GstAtomicQueue:
*
typedef struct _GstAtomicQueue GstAtomicQueue;
+GType gst_atomic_queue_get_type (void);
+
GstAtomicQueue * gst_atomic_queue_new (guint initial_size) G_GNUC_MALLOC;
void gst_atomic_queue_ref (GstAtomicQueue * queue);