From: Rico Tzschichholz Date: Sat, 19 May 2018 16:24:43 +0000 (+0200) Subject: glib-2.0: Add HashTable.steal_extended(), GenericArray.steal_index(_fast)() X-Git-Tag: 0.41.90~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e267272da434dab2f7a62e142075bb91760840b;p=thirdparty%2Fvala.git glib-2.0: Add HashTable.steal_extended(), GenericArray.steal_index(_fast)() --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 65eac3582..707c181e4 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -4771,6 +4771,8 @@ namespace GLib { public bool steal (K key); [Version (since = "2.12")] public void steal_all (); + [Version (since = "2.58")] + public bool steal_extended (K lookup_key, out K stolen_key, out V stolen_value); [CCode (cname = "_vala_g_hash_table_take")] public V? take (K key, out bool exists = null) { GLib.HashTable? ht = null; @@ -5005,6 +5007,11 @@ namespace GLib { return compare_func ((G**) (*a), (G**) (*b)); }); } + [Version (since = "2.58")] + public G steal_index (uint index); + [Version (since = "2.58")] + public G steal_index_fast (uint index); + private void set_size (int length); public int length {