[vala/0.48] vapi: Update GIR-based bindings



commit fbf262b4ee040a2e3a8dd19d99b9b29781b3a829
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Jun 30 09:52:22 2020 +0200

    vapi: Update GIR-based bindings

 vapi/atspi-2.vapi          | 1 +
 vapi/gtk+-3.0.vapi         | 2 ++
 vapi/harfbuzz-gobject.vapi | 6 +++++-
 vapi/json-glib-1.0.vapi    | 2 ++
 vapi/libsoup-2.4.vapi      | 2 ++
 5 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/vapi/atspi-2.vapi b/vapi/atspi-2.vapi
index e169c2c54..f2d8490a0 100644
--- a/vapi/atspi-2.vapi
+++ b/vapi/atspi-2.vapi
@@ -75,6 +75,7 @@ namespace Atspi {
                public Atspi.Value get_value ();
                public Atspi.Value get_value_iface ();
                public void set_cache_mask (Atspi.Cache mask);
+               public virtual signal void mode_changed (int enabled, string why);
                public virtual signal void region_changed (int current_offset, int last_offset);
        }
        [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_application_get_type ()")]
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 8d794ddfe..563e7bd40 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -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; }
diff --git a/vapi/harfbuzz-gobject.vapi b/vapi/harfbuzz-gobject.vapi
index 418eea545..b83742765 100644
--- a/vapi/harfbuzz-gobject.vapi
+++ b/vapi/harfbuzz-gobject.vapi
@@ -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);
diff --git a/vapi/json-glib-1.0.vapi b/vapi/json-glib-1.0.vapi
index b9025b514..7c909d124 100644
--- a/vapi/json-glib-1.0.vapi
+++ b/vapi/json-glib-1.0.vapi
@@ -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")]
diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi
index 904602601..845d43640 100644
--- a/vapi/libsoup-2.4.vapi
+++ b/vapi/libsoup-2.4.vapi
@@ -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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]