]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 19 May 2020 13:20:07 +0000 (15:20 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 19 May 2020 13:20:39 +0000 (15:20 +0200)
vapi/gio-2.0.vapi
vapi/gobject-introspection-1.0.vapi

index 03a8824de73bf10d153968503d0716fd1ce43d34..2c60193f9acb695200207add5248c8bd3694bb30 100644 (file)
@@ -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]
index 10a0bb60f7c8217703ec9afb001bf409b4c0e1aa..36c40ada98a412084f82efce64aeeffc0ee32b2b 100644 (file)
@@ -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 ();
        }