[vala/staging: 3/7] gio-2.0: Add some missing type-arguments
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 3/7] gio-2.0: Add some missing type-arguments
- Date: Sun, 7 Mar 2021 14:09:43 +0000 (UTC)
commit 0c87614330856836d79f9f69a0bb373cf54eca29
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Mar 7 13:42:16 2021 +0100
gio-2.0: Add some missing type-arguments
vapi/gio-2.0.vapi | 8 ++++----
vapi/metadata/Gio-2.0.metadata | 4 ++++
2 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 4d4e44407..708ecf790 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -1691,7 +1691,7 @@ namespace GLib {
[Version (since = "2.64")]
public bool find (GLib.Object item, out uint position);
[Version (since = "2.64")]
- public bool find_with_equal_func (GLib.Object item, GLib.EqualFunc equal_func, out uint
position);
+ public bool find_with_equal_func (GLib.Object item, GLib.EqualFunc<GLib.Object> equal_func,
out uint position);
[Version (since = "2.44")]
public void insert (uint position, GLib.Object item);
[Version (since = "2.44")]
@@ -2293,10 +2293,10 @@ namespace GLib {
public void changed (string key, void* origin_tag);
[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro =
"G_SETTINGS_ENABLE_BACKEND")]
[Version (since = "2.26")]
- public void changed_tree (GLib.Tree tree, void* origin_tag);
+ public void changed_tree ([CCode (type = "GTree*")] GLib.Tree<string,GLib.Variant> tree,
void* origin_tag);
[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro =
"G_SETTINGS_ENABLE_BACKEND")]
[Version (since = "2.26")]
- public static void flatten_tree (GLib.Tree tree, out string path, [CCode (array_length =
false, array_null_terminated = true)] out (unowned string)[] keys, [CCode (array_length = false,
array_null_terminated = true)] out (unowned GLib.Variant)[] values);
+ public static void flatten_tree ([CCode (type = "GTree*")] GLib.Tree<string,GLib.Variant>
tree, out string path, [CCode (array_length = false, array_null_terminated = true)] out (unowned string)[]
keys, [CCode (array_length = false, array_null_terminated = true)] out (unowned GLib.Variant)[] values);
[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro =
"G_SETTINGS_ENABLE_BACKEND")]
[Version (since = "2.28")]
public static GLib.SettingsBackend get_default ();
@@ -2346,7 +2346,7 @@ namespace GLib {
public virtual bool write (string key, GLib.Variant value, void* origin_tag);
[CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro =
"G_SETTINGS_ENABLE_BACKEND")]
[NoWrapper]
- public virtual bool write_tree (GLib.Tree tree, void* origin_tag);
+ public virtual bool write_tree ([CCode (type = "GTree*")] GLib.Tree<string,GLib.Variant>
tree, void* origin_tag);
}
[CCode (cheader_filename = "gio/gio.h", ref_function = "g_settings_schema_ref", type_id =
"g_settings_schema_get_type ()", unref_function = "g_settings_schema_unref")]
[Compact]
diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata
index 483b8f062..b4bdd692d 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -55,6 +55,9 @@ dbus_address_get_for_bus_sync parent="GLib.BusType" name="get_address_sync"
SETTINGS_BACKEND_EXTENSION_POINT_NAME cheader_filename="gio/gsettingsbackend.h"
feature_test_macro="G_SETTINGS_ENABLE_BACKEND"
SettingsBackend
.* cheader_filename="gio/gsettingsbackend.h" feature_test_macro="G_SETTINGS_ENABLE_BACKEND"
+ .changed_tree.tree type="GLib.Tree<string,GLib.Variant>"
+ .flatten_tree.tree type="GLib.Tree<string,GLib.Variant>"
+ .write_tree.tree type="GLib.Tree<string,GLib.Variant>"
Action
.parameter_type nullable
@@ -157,6 +160,7 @@ ListModel
.get_item#virtual_method skip
.get_item#method skip=false abstract type="GLib.Object?"
ListStore
+ .find_with_equal_func.equal_func type_arguments="GLib.Object"
.insert_sorted.compare_func type_arguments="GLib.Object"
.sort.compare_func type_arguments="GLib.Object"
MemoryInputStream
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]