]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 30 Jun 2020 07:52:22 +0000 (09:52 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 30 Jun 2020 07:52:22 +0000 (09:52 +0200)
vapi/gtk+-3.0.vapi
vapi/harfbuzz-gobject.vapi
vapi/json-glib-1.0.vapi
vapi/libsoup-2.4.vapi

index 8d794ddfe9116cead5de901d72ffaf4eb4a73b4d..563e7bd40ccf51ec2c022fd55e73536a45d5915c 100644 (file)
@@ -6779,6 +6779,8 @@ namespace Gtk {
                [Version (deprecated = true, deprecated_since = "3.8", since = "2.10")]
                public string gtk_color_scheme { owned get; set; }
                [NoAccessorMethod]
+               public float gtk_cursor_aspect_ratio { get; set; }
+               [NoAccessorMethod]
                public bool gtk_cursor_blink { get; set; }
                [NoAccessorMethod]
                public int gtk_cursor_blink_time { get; set; }
index 418eea545d51fe3539624c5bd71df5e274e2f3d8..b8374276503ea155ba44c6f0f9a8ce3c2c21f00c 100644 (file)
@@ -1730,6 +1730,9 @@ namespace HarfBuzz {
        [Version (since = "0.9.7")]
        public static void ot_layout_lookup_collect_glyphs (HarfBuzz.Face face, HarfBuzz.Tag table_tag, uint lookup_index, out unowned HarfBuzz.Set glyphs_before, out unowned HarfBuzz.Set glyphs_input, out unowned HarfBuzz.Set glyphs_after, out unowned HarfBuzz.Set glyphs_output);
        [CCode (cheader_filename = "hb-gobject.h")]
+       [Version (since = "2.6.8")]
+       public static uint ot_layout_lookup_get_glyph_alternates (HarfBuzz.Face face, uint lookup_index, HarfBuzz.Codepoint glyph, uint start_offset, [CCode (array_length_cname = "alternate_count", array_length_pos = 4.5, array_length_type = "guint")] out unowned HarfBuzz.Codepoint[] alternate_glyphs);
+       [CCode (cheader_filename = "hb-gobject.h")]
        [Version (since = "0.9.7")]
        public static void ot_layout_lookup_substitute_closure (HarfBuzz.Face face, uint lookup_index, out unowned HarfBuzz.Set glyphs);
        [CCode (cheader_filename = "hb-gobject.h")]
@@ -1790,7 +1793,8 @@ namespace HarfBuzz {
        [Version (since = "1.3.3")]
        public static HarfBuzz.Bool ot_math_is_glyph_extended_shape (HarfBuzz.Face face, HarfBuzz.Codepoint glyph);
        [CCode (cheader_filename = "hb-gobject.h")]
-       public static uint ot_meta_get_entry_tags (HarfBuzz.Face face, uint start_offset, uint entries_count, HarfBuzz.OtMetaTag entries);
+       [Version (since = "2.6.0")]
+       public static uint ot_meta_get_entry_tags (HarfBuzz.Face face, uint start_offset, [CCode (array_length_cname = "entries_count", array_length_pos = 2.5, array_length_type = "guint")] out unowned HarfBuzz.OtMetaTag[] entries);
        [CCode (cheader_filename = "hb-gobject.h")]
        [Version (since = "2.6.0")]
        public static HarfBuzz.Blob ot_meta_reference_entry (HarfBuzz.Face face, HarfBuzz.OtMetaTag meta_tag);
index b9025b514fbe075aa6becaf917db2a1730f484e6..7c909d124a9b7c33e1ce21046409817ef2d570cc 100644 (file)
@@ -258,6 +258,8 @@ namespace Json {
                public Parser.immutable_new ();
                public bool load_from_data (string data, ssize_t length = -1) throws GLib.Error;
                public bool load_from_file (string filename) throws GLib.Error;
+               [Version (since = "1.6")]
+               public bool load_from_mapped_file (string filename) throws GLib.Error;
                [Version (since = "0.12")]
                public bool load_from_stream (GLib.InputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error;
                [Version (since = "0.12")]
index 904602601897b1315eab2a009d33bcd12fa56680..845d43640f8647c6c79da8cb40fdc9bf6296fa5d 100644 (file)
@@ -1990,6 +1990,8 @@ namespace Soup {
        [Version (since = "2.42")]
        public static uint get_minor_version ();
        [CCode (cheader_filename = "libsoup/soup.h")]
+       public static GLib.Resource get_resource ();
+       [CCode (cheader_filename = "libsoup/soup.h")]
        public static bool header_contains (string header, string token);
        [CCode (cheader_filename = "libsoup/soup.h")]
        public static void header_free_param_list (GLib.HashTable<string,string> param_list);