]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 27 Feb 2021 16:04:50 +0000 (17:04 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 27 Feb 2021 16:04:50 +0000 (17:04 +0100)
vapi/gio-2.0.vapi
vapi/gstreamer-1.0.vapi
vapi/gtk4.vapi
vapi/metadata/Gdk-4.0.metadata

index e8b7ef402763ad289b234f77cc9804cbf168f9bf..4d4e444070038bcbf0e9d2f6fd4bf437abec11c4 100644 (file)
@@ -3640,8 +3640,8 @@ namespace GLib {
                public GLib.Bytes load_bytes (GLib.Cancellable? cancellable = null, out string? etag_out = null) throws GLib.Error;
                [Version (since = "2.56")]
                public async GLib.Bytes load_bytes_async (GLib.Cancellable? cancellable = null, out string? etag_out) throws GLib.Error;
-               public bool load_contents (GLib.Cancellable? cancellable, [CCode (array_length_cname = "length", array_length_pos = 2.5, array_length_type = "gsize")] out uint8[] contents, out string etag_out) throws GLib.Error;
-               public async bool load_contents_async (GLib.Cancellable? cancellable = null, [CCode (array_length_cname = "length", array_length_pos = 2.5, array_length_type = "gsize")] out uint8[] contents, out string etag_out) throws GLib.Error;
+               public bool load_contents (GLib.Cancellable? cancellable, [CCode (array_length_cname = "length", array_length_pos = 2.5, array_length_type = "gsize")] out uint8[] contents, out string? etag_out) throws GLib.Error;
+               public async bool load_contents_async (GLib.Cancellable? cancellable = null, [CCode (array_length_cname = "length", array_length_pos = 2.5, array_length_type = "gsize")] out uint8[] contents, out string? etag_out) throws GLib.Error;
                public async bool load_partial_contents_async (GLib.Cancellable? cancellable = null, [CCode (delegate_target_pos = -0.9)] GLib.FileReadMoreCallback read_more_callback, [CCode (array_length_cname = "length", array_length_pos = 2.5, array_length_type = "gsize")] out uint8[] contents, out string etag_out) throws GLib.Error;
                public abstract bool make_directory (GLib.Cancellable? cancellable = null) throws GLib.Error;
                [Version (since = "2.38")]
@@ -3696,11 +3696,11 @@ namespace GLib {
                public virtual async GLib.FileInputStream read_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public abstract GLib.FileOutputStream replace (string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public virtual async GLib.FileOutputStream replace_async (string? etag, bool make_backup, GLib.FileCreateFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
-               public bool replace_contents ([CCode (array_length_cname = "length", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] contents, string? etag, bool make_backup, GLib.FileCreateFlags flags, out string new_etag, GLib.Cancellable? cancellable = null) throws GLib.Error;
-               public async bool replace_contents_async ([CCode (array_length_cname = "length", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] contents, string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null, out string new_etag) throws GLib.Error;
+               public bool replace_contents ([CCode (array_length_cname = "length", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] contents, string? etag, bool make_backup, GLib.FileCreateFlags flags, out string? new_etag, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public async bool replace_contents_async ([CCode (array_length_cname = "length", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] contents, string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null, out string? new_etag) throws GLib.Error;
                [CCode (finish_name = "g_file_replace_contents_finish")]
                [Version (since = "2.40")]
-               public async bool replace_contents_bytes_async (GLib.Bytes contents, string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null, out string new_etag) throws GLib.Error;
+               public async bool replace_contents_bytes_async (GLib.Bytes contents, string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null, out string? new_etag) throws GLib.Error;
                [Version (since = "2.22")]
                public abstract GLib.FileIOStream replace_readwrite (string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
                [Version (since = "2.22")]
index db0ca527ac8223c2bf148e5c65c4ea7aee6649d4..a1b09bec13c36b5cfa7f704c0ef02215f2e2e8c8 100644 (file)
@@ -4028,6 +4028,8 @@ namespace Gst {
        [CCode (cheader_filename = "gst/gst.h", has_target = false)]
        public delegate bool MetaTransformFunction (Gst.Buffer transbuf, Gst.Meta meta, Gst.Buffer buffer, GLib.Quark type, void* data);
        [CCode (cheader_filename = "gst/gst.h", has_target = false)]
+       public delegate Gst.MiniObject MiniObjectCopyFunction (Gst.MiniObject obj);
+       [CCode (cheader_filename = "gst/gst.h", has_target = false)]
        public delegate bool MiniObjectDisposeFunction (Gst.MiniObject obj);
        [CCode (cheader_filename = "gst/gst.h", has_target = false)]
        public delegate void MiniObjectFreeFunction (Gst.MiniObject obj);
index 26a9fd81a987ad47226dd8065471601c60638507..36a15a73c7fc8703ff2f01421a35f171a4fa0a9f 100644 (file)
@@ -6102,6 +6102,11 @@ namespace Gsk {
                public size_t get_n_color_stops ();
                public unowned Graphene.Point? get_start ();
        }
+       [CCode (cheader_filename = "gsk/gsk.h", type_id = "gsk_ngl_renderer_get_type ()")]
+       public class NglRenderer : Gsk.Renderer {
+               [CCode (has_construct_function = false, type = "GskRenderer*")]
+               public NglRenderer ();
+       }
        [CCode (cheader_filename = "gsk/gsk.h", type_id = "gsk_opacity_node_get_type ()")]
        public class OpacityNode : Gsk.RenderNode {
                [CCode (has_construct_function = false, type = "GskRenderNode*")]
index 3053be7df5692623689cd471ca4e8ae988a2deb1..40cb0fcbfcf3ecea86d2efcd6c24ee29dde61db0 100644 (file)
@@ -57,5 +57,3 @@ Device
 
 // vapigen actually generates the correctly, but in away that breaks BC
 Rectangle.union return_void
-
-DrawingContext skip