[vala/staging: 3/4] vapi: Update GIR-based bindings
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 3/4] vapi: Update GIR-based bindings
- Date: Tue, 19 May 2020 13:24:03 +0000 (UTC)
commit b76e60c81849e534f6840b19e6876d43ba62e5e3
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue May 19 15:20:07 2020 +0200
vapi: Update GIR-based bindings
vapi/gio-2.0.vapi | 7 ++++---
vapi/gobject-introspection-1.0.vapi | 10 ++++++++--
2 files changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 03a8824de..2c60193f9 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -3302,8 +3302,8 @@ namespace GLib {
public static GLib.List<GLib.AppInfo> get_all_for_type (string content_type);
[NoWrapper]
public abstract unowned string get_commandline ();
- public static GLib.AppInfo get_default_for_type (string content_type, bool must_support_uris);
- public static GLib.AppInfo get_default_for_uri_scheme (string uri_scheme);
+ public static GLib.AppInfo? get_default_for_type (string content_type, bool
must_support_uris);
+ public static GLib.AppInfo? get_default_for_uri_scheme (string uri_scheme);
public abstract unowned string get_description ();
[Version (since = "2.24")]
public abstract unowned string get_display_name ();
@@ -4117,7 +4117,8 @@ namespace GLib {
FREEBSD_CMSGCRED,
OPENBSD_SOCKPEERCRED,
SOLARIS_UCRED,
- NETBSD_UNPCBID
+ NETBSD_UNPCBID,
+ APPLE_XUCRED
}
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_DBUS_CALL_FLAGS_", type_id =
"g_dbus_call_flags_get_type ()")]
[Flags]
diff --git a/vapi/gobject-introspection-1.0.vapi b/vapi/gobject-introspection-1.0.vapi
index 10a0bb60f..36c40ada9 100644
--- a/vapi/gobject-introspection-1.0.vapi
+++ b/vapi/gobject-introspection-1.0.vapi
@@ -144,7 +144,7 @@ namespace GI {
public int get_n_properties ();
public int get_n_signals ();
public int get_n_vfuncs ();
- public GI.ObjectInfo get_parent ();
+ public GI.ObjectInfo? get_parent ();
public GI.PropertyInfo get_property (int n);
public unowned string get_ref_function ();
public unowned GI.ObjectInfoRefFunction get_ref_function_pointer ();
@@ -196,7 +196,7 @@ namespace GI {
public void get_object_gtype_interfaces (GLib.Type gtype, [CCode (array_length_cname =
"n_interfaces_out", array_length_pos = 1.5, array_length_type = "guint")] out unowned GI.InterfaceInfo[]
interfaces_out);
public static GLib.OptionGroup get_option_group ();
public static unowned GLib.SList<string> get_search_path ();
- public unowned string get_shared_library (string namespace_);
+ public unowned string? get_shared_library (string namespace_);
public unowned string get_typelib_path (string namespace_);
public unowned string get_version (string namespace_);
public bool is_registered (string namespace_, string? version);
@@ -231,12 +231,18 @@ namespace GI {
[CCode (cheader_filename = "girepository.h", lower_case_csuffix = "type_info", type_id =
"g_base_info_gtype_get_type ()")]
[Compact]
public class TypeInfo : GI.BaseInfo {
+ [Version (since = "1.66")]
+ public void argument_from_hash_pointer (void* hash_pointer, GI.Argument arg);
public int get_array_fixed_size ();
public int get_array_length ();
public GI.ArrayType get_array_type ();
public GI.BaseInfo get_interface ();
public GI.TypeInfo get_param_type (int n);
+ [Version (since = "1.66")]
+ public GI.TypeTag get_storage_type ();
public GI.TypeTag get_tag ();
+ [Version (since = "1.66")]
+ public void* hash_pointer_from_argument (GI.Argument arg);
public bool is_pointer ();
public bool is_zero_terminated ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]