summaryrefslogtreecommitdiff
path: root/gst/gststructure.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2005-11-19 15:51:41 +0000
committerAndy Wingo <wingo@pobox.com>2005-11-19 15:51:41 +0000
commite89aaa7e3000b39c164de6d1d06a612b3a16d136 (patch)
treeb12c1973b87f88c200fbefb2eb99624c802c1c38 /gst/gststructure.h
parent3eb5b03dfd1b21b5d3d6cf6b6f135151e16237c2 (diff)
gst/gsttaglist.*: Operates on a const
Original commit message from CVS: 2005-11-19 Andy Wingo <wingo@pobox.com> * gst/gsttaglist.c: * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const GstTagList*. Fixes #143472. * gst/gststructure.h: Clarify what the foreach/map functions can or can't do to their arguments.
Diffstat (limited to 'gst/gststructure.h')
-rw-r--r--gst/gststructure.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/gststructure.h b/gst/gststructure.h
index 766ce02f00..1a73e2137c 100644
--- a/gst/gststructure.h
+++ b/gst/gststructure.h
@@ -38,7 +38,8 @@ typedef struct _GstStructure GstStructure;
* @value: the #GValue of the field
* @user_data: user data
*
- * A function that will be called in gst_structure_foreach()
+ * A function that will be called in gst_structure_foreach(). The function may
+ * not modify @value.
*
* Returns: TRUE if the foreach operation should continue, FALSE if
* the foreach operation should stop with FALSE.
@@ -53,7 +54,8 @@ typedef gboolean (*GstStructureForeachFunc) (GQuark field_id,
* @value: the #GValue of the field
* @user_data: user data
*
- * A function that will be called in gst_structure_map_in_place()
+ * A function that will be called in gst_structure_map_in_place(). The function
+ * may modify @value.
*
* Returns: TRUE if the map operation should continue, FALSE if
* the map operation should stop with FALSE.