summaryrefslogtreecommitdiff
path: root/gir/glib-2.0.c
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@t-online.de>2011-12-20 14:43:11 +0100
committerRico Tzschichholz <ricotz@t-online.de>2011-12-20 14:43:11 +0100
commit7fcbb83abe737bc479f7f482c7d30e62b9f2d176 (patch)
tree60618fbaac6fda6a7e8e546e2858143546036d86 /gir/glib-2.0.c
parent465c39abb0e81afb7a07985f03fd35050f1e5b93 (diff)
downloadgobject-introspection-7fcbb83abe737bc479f7f482c7d30e62b9f2d176.tar.gz
Update annotations for GLib 2.31.6
Diffstat (limited to 'gir/glib-2.0.c')
-rw-r--r--gir/glib-2.0.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c
index 39f1190b..ef4d007b 100644
--- a/gir/glib-2.0.c
+++ b/gir/glib-2.0.c
@@ -27056,6 +27056,24 @@
* Frees the memory allocated for the #GQueue. Only call this function if
* @queue was created with g_queue_new(). If queue elements contain
* dynamically-allocated memory, they should be freed first.
+ *
+ * <note><para>
+ * If queue elements contain dynamically-allocated memory,
+ * you should either use g_queue_free_full() or free them manually
+ * first.
+ * </para></note>
+ */
+
+
+/**
+ * g_queue_free_full:
+ * @queue: a pointer to a #GQueue
+ * @free_func: the function to be called to free each element's data
+ *
+ * Convenience method, which frees all the memory used by a #GQueue, and
+ * calls the specified destroy function on every element's data.
+ *
+ * Since: 2.32
*/