diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2014-11-15 14:28:29 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2014-11-15 14:28:29 +0100 |
commit | 1a4de48da8e9c20d99b8136c31c8ae6cd17c6ebc (patch) | |
tree | fe3e7ff80097ff5fd86814e8e5b622b0d498038b /gir/glib-2.0.c | |
parent | a543d8563f8e9ca059afb7218c63496f577cd0fc (diff) | |
download | gobject-introspection-1a4de48da8e9c20d99b8136c31c8ae6cd17c6ebc.tar.gz |
Update glib annotations from git master
Diffstat (limited to 'gir/glib-2.0.c')
-rw-r--r-- | gir/glib-2.0.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c index b8e24ec9..287f39d3 100644 --- a/gir/glib-2.0.c +++ b/gir/glib-2.0.c @@ -6886,7 +6886,7 @@ * This also means that there is no need to check if the call succeeded. * * It's important to match g_malloc() (and wrappers such as g_new()) with - * g_free(), g_slice_alloc() and wrappers such as g_slice_new()) with + * g_free(), g_slice_alloc() (and wrappers such as g_slice_new()) with * g_slice_free(), plain malloc() with free(), and (if you're using C++) * new with delete and new[] with delete[]. Otherwise bad things can happen, * since these allocators may use different memory pools (and new/delete call @@ -22476,12 +22476,14 @@ /** * g_queue_insert_after: * @queue: a #GQueue - * @sibling: a #GList link that must be part of @queue + * @sibling: (nullable): a #GList link that must be part of @queue, or %NULL to + * push at the head of the queue. * @data: the data to insert * - * Inserts @data into @queue after @sibling + * Inserts @data into @queue after @sibling. * - * @sibling must be part of @queue + * @sibling must be part of @queue. Since GLib 2.44 a %NULL sibling pushes the + * data at the head of the queue. * * Since: 2.4 */ @@ -22490,12 +22492,14 @@ /** * g_queue_insert_before: * @queue: a #GQueue - * @sibling: a #GList link that must be part of @queue + * @sibling: (nullable): a #GList link that must be part of @queue, or %NULL to + * push at the tail of the queue. * @data: the data to insert * * Inserts @data into @queue before @sibling. * - * @sibling must be part of @queue. + * @sibling must be part of @queue. Since GLib 2.44 a %NULL sibling pushes the + * data at the tail of the queue. * * Since: 2.4 */ |