From: Rico Tzschichholz Date: Sun, 12 Aug 2018 13:31:38 +0000 (+0200) Subject: glib-2.0: Add missing return of Queue.remove*() and add HashTable.foreach_steal() X-Git-Tag: 0.41.92~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c43c8716a8cba9789625ec7503b2d3e69404ce94;p=thirdparty%2Fvala.git glib-2.0: Add missing return of Queue.remove*() and add HashTable.foreach_steal() --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index d3e38c544..29b05dd0d 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -4659,9 +4659,9 @@ namespace GLib { [Version (since = "2.4")] public int index (G data); [Version (since = "2.4")] - public void remove (G data); + public bool remove (G data); [Version (since = "2.4")] - public void remove_all (G data); + public uint remove_all (G data); [Version (since = "2.4")] public void delete_link (List link); [Version (since = "2.4")] @@ -4789,6 +4789,7 @@ namespace GLib { [Version (since = "2.12")] public void remove_all (); public uint foreach_remove (HRFunc predicate); + public uint foreach_steal (HRFunc predicate); [CCode (cname = "g_hash_table_lookup")] public unowned V? @get (K key); [CCode (cname = "g_hash_table_insert")]