gstiterator.h | gstiterator.h | |||
---|---|---|---|---|
skipping to change at line 141 | skipping to change at line 141 | |||
* @ret: a #GValue collecting the result | * @ret: a #GValue collecting the result | |||
* @user_data: data passed to gst_iterator_fold() | * @user_data: data passed to gst_iterator_fold() | |||
* | * | |||
* A function to be passed to gst_iterator_fold(). | * A function to be passed to gst_iterator_fold(). | |||
* | * | |||
* Returns: TRUE if the fold should continue, FALSE if it should stop. | * Returns: TRUE if the fold should continue, FALSE if it should stop. | |||
*/ | */ | |||
typedef gboolean (*GstIteratorFoldFunction) (gpointer item, GVal ue *ret, gpointer user_data); | typedef gboolean (*GstIteratorFoldFunction) (gpointer item, GVal ue *ret, gpointer user_data); | |||
/** | /** | |||
* GstCopyFunction: | ||||
* @object: The object to copy | ||||
* | ||||
* A function to create a copy of some object or | ||||
* increase its reference count. | ||||
* | ||||
* Returns: a copy of the object or the same object with increased referenc | ||||
e count | ||||
* | ||||
* Since: 0.10.25 | ||||
*/ | ||||
typedef gpointer (*GstCopyFunction) (gpointer object); | ||||
/** | ||||
* GST_ITERATOR: | * GST_ITERATOR: | |||
* @it: the #GstIterator value | * @it: the #GstIterator value | |||
* | * | |||
* Macro to cast to a #GstIterator | * Macro to cast to a #GstIterator | |||
*/ | */ | |||
#define GST_ITERATOR(it) ((GstIterator*)(it)) | #define GST_ITERATOR(it) ((GstIterator*)(it)) | |||
/** | /** | |||
* GST_ITERATOR_LOCK: | * GST_ITERATOR_LOCK: | |||
* @it: the #GstIterator to get the lock of | * @it: the #GstIterator to get the lock of | |||
* | * | |||
skipping to change at line 229 | skipping to change at line 242 | |||
GstIteratorFreeFunc tion free); | GstIteratorFreeFunc tion free); | |||
GstIterator* gst_iterator_new_list (GType type, | GstIterator* gst_iterator_new_list (GType type, | |||
GMutex *lock, | GMutex *lock, | |||
guint32 *master_coo kie, | guint32 *master_coo kie, | |||
GList **list, | GList **list, | |||
gpointer owner, | gpointer owner, | |||
GstIteratorItemFunc tion item, | GstIteratorItemFunc tion item, | |||
GstIteratorDisposeF unction free); | GstIteratorDisposeF unction free); | |||
GstIterator* gst_iterator_new_single (GType type, | ||||
gpointer object, | ||||
GstCopyFunction co | ||||
py, | ||||
GFreeFunc free); | ||||
/* using iterators */ | /* using iterators */ | |||
GstIteratorResult gst_iterator_next (GstIterator *it, gp ointer *elem); | GstIteratorResult gst_iterator_next (GstIterator *it, gp ointer *elem); | |||
void gst_iterator_resync (GstIterator *it); | void gst_iterator_resync (GstIterator *it); | |||
void gst_iterator_free (GstIterator *it); | void gst_iterator_free (GstIterator *it); | |||
void gst_iterator_push (GstIterator *it, Gs tIterator *other); | void gst_iterator_push (GstIterator *it, Gs tIterator *other); | |||
/* higher-order functions that operate on iterators */ | /* higher-order functions that operate on iterators */ | |||
GstIterator* gst_iterator_filter (GstIterator *it, GC ompareFunc func, | GstIterator* gst_iterator_filter (GstIterator *it, GC ompareFunc func, | |||
gpointer user_data ); | gpointer user_data ); | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 20 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |