]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 7 Jun 2020 13:29:07 +0000 (15:29 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 7 Jun 2020 13:29:22 +0000 (15:29 +0200)
vapi/gio-2.0.vapi
vapi/harfbuzz-gobject.vapi

index 2c60193f9acb695200207add5248c8bd3694bb30..2b64455b6c6f308485444aabb253932411f73671 100644 (file)
@@ -1206,7 +1206,7 @@ namespace GLib {
                [CCode (has_construct_function = false)]
                public FileAttributeMatcher (string attributes);
                public bool enumerate_namespace (string ns);
-               public unowned string enumerate_next ();
+               public unowned string? enumerate_next ();
                public bool matches (string attribute);
                public bool matches_only (string attribute);
                public unowned GLib.FileAttributeMatcher @ref ();
@@ -1272,22 +1272,22 @@ namespace GLib {
                public GLib.FileInfo dup ();
                public string? get_attribute_as_string (string attribute);
                public bool get_attribute_boolean (string attribute);
-               public unowned string get_attribute_byte_string (string attribute);
+               public unowned string? get_attribute_byte_string (string attribute);
                public bool get_attribute_data (string attribute, out GLib.FileAttributeType type, out void* value_pp, out GLib.FileAttributeStatus status);
                public int32 get_attribute_int32 (string attribute);
                public int64 get_attribute_int64 (string attribute);
-               public unowned GLib.Object get_attribute_object (string attribute);
+               public unowned GLib.Object? get_attribute_object (string attribute);
                public GLib.FileAttributeStatus get_attribute_status (string attribute);
-               public unowned string get_attribute_string (string attribute);
+               public unowned string? get_attribute_string (string attribute);
                [CCode (array_length = false, array_null_terminated = true)]
                [Version (since = "2.22")]
-               public unowned string[] get_attribute_stringv (string attribute);
+               public unowned string[]? get_attribute_stringv (string attribute);
                public GLib.FileAttributeType get_attribute_type (string attribute);
                public uint32 get_attribute_uint32 (string attribute);
                public uint64 get_attribute_uint64 (string attribute);
-               public unowned string get_content_type ();
+               public unowned string? get_content_type ();
                [Version (since = "2.36")]
-               public GLib.DateTime get_deletion_date ();
+               public GLib.DateTime? get_deletion_date ();
                public unowned string get_display_name ();
                public unowned string get_edit_name ();
                public unowned string get_etag ();
@@ -2962,7 +2962,7 @@ namespace GLib {
                public ThreadedSocketService (int max_threads);
                [NoAccessorMethod]
                public int max_threads { get; construct; }
-               public virtual signal bool run (GLib.SocketConnection connection, GLib.Object source_object);
+               public virtual signal bool run (GLib.SocketConnection connection, GLib.Object? source_object);
        }
        [CCode (cheader_filename = "gio/gio.h", type_id = "g_tls_certificate_get_type ()")]
        [Version (since = "2.28")]
index f0b31d7605e3734ed26a65ede811848d11aac530..418eea545d51fe3539624c5bd71df5e274e2f3d8 100644 (file)
@@ -1401,6 +1401,10 @@ namespace HarfBuzz {
                NANDINAGARI,
                NYIAKENG_PUACHUE_HMONG,
                WANCHO,
+               CHORASMIAN,
+               DIVES_AKURU,
+               KHITAN_SMALL_SCRIPT,
+               YEZIDI,
                INVALID;
                [Version (since = "0.9.2")]
                public static HarfBuzz.Script from_iso15924_tag (HarfBuzz.Tag tag);
@@ -1625,6 +1629,7 @@ namespace HarfBuzz {
        [Version (since = "1.0.5")]
        public static int ft_font_get_load_flags (HarfBuzz.Font font);
        [CCode (cheader_filename = "hb-gobject.h")]
+       [Version (since = "1.0.5")]
        public static void ft_font_set_funcs (HarfBuzz.Font font);
        [CCode (cheader_filename = "hb-gobject.h")]
        [Version (since = "1.0.5")]
@@ -1636,10 +1641,13 @@ namespace HarfBuzz {
        [Version (since = "0.9.38")]
        public static HarfBuzz.Blob glib_blob_create (GLib.Bytes gbytes);
        [CCode (cheader_filename = "hb-gobject.h")]
-       public static HarfBuzz.UnicodeFuncs glib_get_unicode_funcs ();
+       [Version (since = "0.9.38")]
+       public static unowned HarfBuzz.UnicodeFuncs glib_get_unicode_funcs ();
        [CCode (cheader_filename = "hb-gobject.h")]
+       [Version (since = "0.9.38")]
        public static GLib.UnicodeScript glib_script_from_script (HarfBuzz.Script script);
        [CCode (cheader_filename = "hb-gobject.h")]
+       [Version (since = "0.9.38")]
        public static HarfBuzz.Script glib_script_to_script (GLib.UnicodeScript script);
        [CCode (cheader_filename = "hb-gobject.h")]
        [Version (since = "1.5.0")]