[vala/staging: 5/5] glib-2.0: Add HashTable.steal_extended(), GenericArray.steal_index(_fast)()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 5/5] glib-2.0: Add HashTable.steal_extended(), GenericArray.steal_index(_fast)()
- Date: Sat, 19 May 2018 16:35:26 +0000 (UTC)
commit 0e267272da434dab2f7a62e142075bb91760840b
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat May 19 18:24:43 2018 +0200
glib-2.0: Add HashTable.steal_extended(), GenericArray.steal_index(_fast)()
vapi/glib-2.0.vapi | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 65eac35..707c181 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<K,V>? 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 {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]