summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-06-26 19:30:52 +0200
committerSebastian Dröge <sebastian@centricular.com>2014-06-26 19:32:18 +0200
commit0d5177b5fe12a130fbb96be8b7ada82e81500f84 (patch)
tree9b41a3ef559d26fec5693a5b6698f3562c0ea792
parent9edef56efcffcd1deac2af45176296f9d49f6c4d (diff)
queuearray: Hide from bindings
Other languages have their own data structures that are more convenient to use. https://bugzilla.gnome.org/show_bug.cgi?id=731350
-rw-r--r--libs/gst/base/gstqueuearray.c18
-rw-r--r--libs/gst/base/gstqueuearray.h3
2 files changed, 12 insertions, 9 deletions
diff --git a/libs/gst/base/gstqueuearray.c b/libs/gst/base/gstqueuearray.c
index d37535de0..5ff03fdf5 100644
--- a/libs/gst/base/gstqueuearray.c
+++ b/libs/gst/base/gstqueuearray.c
@@ -44,7 +44,7 @@ struct _GstQueueArray
};
/**
- * gst_queue_array_new:
+ * gst_queue_array_new: (skip)
* @initial_size: Initial size of the new queue
*
* Allocates a new #GstQueueArray object with an initial
@@ -70,7 +70,7 @@ gst_queue_array_new (guint initial_size)
/**
- * gst_queue_array_free:
+ * gst_queue_array_free: (skip)
* @array: a #GstQueueArray object
*
* Frees queue @array and all memory associated to it.
@@ -85,7 +85,7 @@ gst_queue_array_free (GstQueueArray * array)
}
/**
- * gst_queue_array_pop_head:
+ * gst_queue_array_pop_head: (skip)
* @array: a #GstQueueArray object
*
* Returns and head of the queue @array and removes
@@ -111,7 +111,7 @@ gst_queue_array_pop_head (GstQueueArray * array)
}
/**
- * gst_queue_array_peek_head:
+ * gst_queue_array_peek_head: (skip)
* @array: a #GstQueueArray object
*
* Returns and head of the queue @array and does not
@@ -131,7 +131,7 @@ gst_queue_array_peek_head (GstQueueArray * array)
}
/**
- * gst_queue_array_push_tail:
+ * gst_queue_array_push_tail: (skip)
* @array: a #GstQueueArray object
* @data: object to push
*
@@ -183,7 +183,7 @@ gst_queue_array_push_tail (GstQueueArray * array, gpointer data)
}
/**
- * gst_queue_array_is_empty:
+ * gst_queue_array_is_empty: (skip)
* @array: a #GstQueueArray object
*
* Checks if the queue @array is empty.
@@ -199,7 +199,7 @@ gst_queue_array_is_empty (GstQueueArray * array)
}
/**
- * gst_queue_array_drop_element:
+ * gst_queue_array_drop_element: (skip)
* @array: a #GstQueueArray object
* @idx: index to drop
*
@@ -285,7 +285,7 @@ gst_queue_array_drop_element (GstQueueArray * array, guint idx)
}
/**
- * gst_queue_array_find:
+ * gst_queue_array_find: (skip)
* @array: a #GstQueueArray object
* @func: (allow-none): comparison function, or %NULL to find @data by value
* @data: data for comparison function
@@ -325,7 +325,7 @@ gst_queue_array_find (GstQueueArray * array, GCompareFunc func, gpointer data)
}
/**
- * gst_queue_array_get_length:
+ * gst_queue_array_get_length: (skip)
* @array: a #GstQueueArray object
*
* Returns the length of the queue @array
diff --git a/libs/gst/base/gstqueuearray.h b/libs/gst/base/gstqueuearray.h
index b640886ae..bfe89e7da 100644
--- a/libs/gst/base/gstqueuearray.h
+++ b/libs/gst/base/gstqueuearray.h
@@ -24,6 +24,9 @@
#ifndef __GST_QUEUE_ARRAY_H__
#define __GST_QUEUE_ARRAY_H__
+/**
+ * GstQueueArray: (skip)
+ */
typedef struct _GstQueueArray GstQueueArray;
GstQueueArray * gst_queue_array_new (guint initial_size);