]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Regenerate GIR-based bindings to pick up out/ref instance-parameters
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 28 Aug 2019 06:38:05 +0000 (08:38 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 28 Aug 2019 06:40:01 +0000 (08:40 +0200)
12 files changed:
vapi/clutter-1.0.vapi
vapi/gio-2.0.vapi
vapi/gst-editing-services-1.0.vapi
vapi/gstreamer-1.0.vapi
vapi/gstreamer-base-1.0.vapi
vapi/gstreamer-rtsp-server-1.0.vapi
vapi/gstreamer-video-1.0.vapi
vapi/gstreamer-webrtc-1.0.vapi
vapi/libgsf-1.vapi
vapi/libsoup-2.4.vapi
vapi/metadata/GooCanvas-2.0.metadata
vapi/metadata/Gtk-3.0.metadata

index cbbc60e59d8f6d61145ad4de37a74cbbc1584da1..8a92994680180ff1fa578d6e85a1ca8c6daea045 100644 (file)
@@ -8106,7 +8106,7 @@ namespace Clutter {
                [Version (since = "1.12")]
                public static Clutter.ActorBox? alloc ();
                [Version (since = "1.2")]
-               public void clamp_to_pixel ();
+               public static void clamp_to_pixel (ref Clutter.ActorBox box);
                [Version (since = "1.0")]
                public bool contains (float x, float y);
                [Version (since = "1.0")]
index 2aa6db449d80c6a13a6b80836f4e54d50ebcd25c..2091d501c23253c86a8f45812f8cfae5e4e8978e 100644 (file)
@@ -877,14 +877,22 @@ namespace GLib {
                public unowned GLib.DBusPropertyInfo get_property_info ();
                public unowned string get_sender ();
                public void* get_user_data ();
+               [DestroysInstance]
                public void return_dbus_error (string error_name, string error_message);
+               [DestroysInstance]
                public void return_error (GLib.Quark domain, int code, string format, ...);
+               [DestroysInstance]
                public void return_error_literal (GLib.Quark domain, int code, string message);
+               [DestroysInstance]
                public void return_error_valist (GLib.Quark domain, int code, string format, [CCode (type = "va_list")] va_list var_args);
+               [DestroysInstance]
                public void return_gerror (GLib.Error error);
+               [DestroysInstance]
                public void return_value (GLib.Variant? parameters);
+               [DestroysInstance]
                [Version (since = "2.30")]
                public void return_value_with_unix_fd_list (GLib.Variant? parameters, GLib.UnixFDList? fd_list);
+               [DestroysInstance]
                [Version (since = "2.30")]
                public void take_error (owned GLib.Error error);
        }
index 97e3f0487220363abdd8ff10e3bed2beedc76f07..5cc0c61fd35334eefdaeaa8f42bbbead8921b7e7 100644 (file)
@@ -139,6 +139,7 @@ namespace GES {
                public bool remove (GES.TimelineElement child);
                [NoWrapper]
                public virtual bool remove_child (GES.TimelineElement element);
+               [DestroysInstance]
                public virtual GLib.List<GES.Container> ungroup (bool recursive);
                [NoAccessorMethod]
                public uint height { get; }
index 4e7636f57992780bc371f4652b1a2ce36fe61465..bae27da5fa8f8ec8144dfcd64aafc7c8347a9b79 100644 (file)
@@ -562,6 +562,7 @@ namespace Gst {
                public size_t padding;
                public size_t prefix;
                public Gst.AllocationParams? copy ();
+               [DestroysInstance]
                public void free ();
                public void init ();
        }
@@ -581,6 +582,7 @@ namespace Gst {
                public static Gst.Allocator? find (string? name);
                public virtual void free (owned Gst.Memory memory);
                public static void register (string name, owned Gst.Allocator allocator);
+               [DestroysInstance]
                public void set_default ();
        }
        [CCode (cheader_filename = "gst/gst.h", ref_function = "gst_atomic_queue_ref", type_id = "gst_atomic_queue_get_type ()", unref_function = "gst_atomic_queue_unref")]
@@ -673,8 +675,10 @@ namespace Gst {
                public unowned Gst.ReferenceTimestampMeta? add_reference_timestamp_meta (Gst.Caps reference, Gst.ClockTime timestamp, Gst.ClockTime duration);
                [CCode (has_construct_function = false)]
                public Buffer.allocate (Gst.Allocator? allocator, size_t size, Gst.AllocationParams? @params);
+               [DestroysInstance]
                public Gst.Buffer append (owned Gst.Buffer buf2);
                public void append_memory (owned Gst.Memory mem);
+               [DestroysInstance]
                public Gst.Buffer append_region (owned Gst.Buffer buf2, ssize_t offset, ssize_t size);
                [Version (since = "1.6")]
                public Gst.Buffer copy_deep ();
@@ -850,6 +854,7 @@ namespace Gst {
                public Caps.empty_simple (string media_type);
                [Version (since = "1.6")]
                public void filter_and_map_in_place (Gst.CapsFilterMapFunc func);
+               [DestroysInstance]
                public Gst.Caps fixate ();
                [Version (since = "1.6")]
                public bool @foreach (Gst.CapsForeachFunc func);
@@ -877,10 +882,14 @@ namespace Gst {
                public bool is_subset_structure_full (Gst.Structure structure, Gst.CapsFeatures? features);
                [Version (since = "1.6")]
                public bool map_in_place (Gst.CapsMapFunc func);
+               [DestroysInstance]
                public Gst.Caps merge (owned Gst.Caps caps2);
+               [DestroysInstance]
                public Gst.Caps merge_structure (owned Gst.Structure structure);
+               [DestroysInstance]
                [Version (since = "1.2")]
                public Gst.Caps merge_structure_full (owned Gst.Structure structure, owned Gst.CapsFeatures? features);
+               [DestroysInstance]
                public Gst.Caps normalize ();
                public void remove_structure (uint idx);
                [Version (since = "1.2")]
@@ -892,10 +901,12 @@ namespace Gst {
                public void set_value (string field, GLib.Value value);
                [CCode (has_construct_function = false)]
                public Caps.simple (string media_type, string fieldname, ...);
+               [DestroysInstance]
                public Gst.Caps simplify ();
                public Gst.Structure? steal_structure (uint index);
                public Gst.Caps subtract (Gst.Caps subtrahend);
                public string to_string ();
+               [DestroysInstance]
                public Gst.Caps truncate ();
        }
        [CCode (cheader_filename = "gst/gst.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_caps_features_get_type ()")]
@@ -913,6 +924,7 @@ namespace Gst {
                public Gst.CapsFeatures copy ();
                [CCode (has_construct_function = false)]
                public CapsFeatures.empty ();
+               [DestroysInstance]
                public void free ();
                public static Gst.CapsFeatures? from_string (string features);
                public unowned string? get_nth (uint i);
@@ -1065,6 +1077,7 @@ namespace Gst {
                public unowned Gst.DateTime @ref ();
                public GLib.DateTime? to_g_date_time ();
                public string? to_iso8601_string ();
+               [DestroysInstance]
                public void unref ();
                [CCode (has_construct_function = false)]
                public DateTime.y (int year);
@@ -1539,6 +1552,7 @@ namespace Gst {
                public bool is_span (Gst.Memory mem2, out size_t offset);
                [Version (since = "1.2")]
                public bool is_type (string mem_type);
+               [DestroysInstance]
                public Gst.Memory? make_mapped (out Gst.MapInfo info, Gst.MapFlags flags);
                public bool map (out Gst.MapInfo info, Gst.MapFlags flags);
                [CCode (has_construct_function = false, simple_generics = true)]
@@ -1739,6 +1753,7 @@ namespace Gst {
                public T get_qdata<T> (GLib.Quark quark);
                public bool is_writable ();
                public bool @lock (Gst.LockFlags flags);
+               [DestroysInstance]
                [ReturnsModifiedPointer]
                public Gst.MiniObject make_writable ();
                public unowned Gst.MiniObject @ref ();
@@ -1955,6 +1970,7 @@ namespace Gst {
                [CCode (has_construct_function = false)]
                public ParseContext ();
                public Gst.ParseContext? copy ();
+               [DestroysInstance]
                public void free ();
                [CCode (array_length = false, array_null_terminated = true)]
                public string[]? get_missing_elements ();
@@ -2043,6 +2059,7 @@ namespace Gst {
                [Version (since = "1.16")]
                public bool fd_has_pri (Gst.PollFD fd);
                public void fd_ignored (Gst.PollFD fd);
+               [DestroysInstance]
                public void free ();
                public void get_read_gpollfd (GLib.PollFD fd);
                public bool read_control ();
@@ -2268,6 +2285,7 @@ namespace Gst {
                public Gst.Segment copy ();
                public void copy_into (Gst.Segment dest);
                public bool do_seek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType start_type, uint64 start, Gst.SeekType stop_type, uint64 stop, out bool update);
+               [DestroysInstance]
                public void free ();
                public void init (Gst.Format format);
                [Version (since = "1.6")]
@@ -2346,6 +2364,7 @@ namespace Gst {
                public bool fixate_field_nearest_int (string field_name, int target);
                public bool fixate_field_string (string field_name, string target);
                public bool @foreach (Gst.StructureForeachFunc func);
+               [DestroysInstance]
                public void free ();
                [CCode (cname = "gst_structure_from_string", has_construct_function = false)]
                public Structure.from_string (string string, out unowned string end);
@@ -2624,6 +2643,7 @@ namespace Gst {
                public bool is_writable ();
                [Version (since = "1.6")]
                public Gst.Uri? join (Gst.Uri? ref_uri);
+               [DestroysInstance]
                [ReturnsModifiedPointer]
                [Version (since = "1.6")]
                public Gst.Uri make_writable ();
index a5c98e2928e4b72f6efc976e61e485f50b0fceca..2fe905ea762b70f355c5547e8174055b6cc28e5e 100644 (file)
@@ -147,6 +147,7 @@ namespace Gst {
                        public uint size;
                        public BitReader ([CCode (array_length_type = "guint")] uint8[] data);
                        [CCode (cname = "gst_bit_reader_free")]
+                       [DestroysInstance]
                        public void free ();
                        [CCode (cname = "gst_bit_reader_get_bits_uint16")]
                        public bool get_bits_uint16 (out uint16 val, uint nbits);
@@ -197,6 +198,7 @@ namespace Gst {
                        [CCode (cname = "gst_byte_reader_dup_string_utf8")]
                        public bool dup_string_utf8 ([CCode (array_length = false, array_null_terminated = true)] out string[] str);
                        [CCode (cname = "gst_byte_reader_free")]
+                       [DestroysInstance]
                        public void free ();
                        [CCode (cname = "gst_byte_reader_get_data")]
                        public bool get_data ([CCode (array_length_cname = "size", array_length_pos = 0.5, array_length_type = "guint")] out unowned uint8[] val);
@@ -332,10 +334,13 @@ namespace Gst {
                        [CCode (cname = "gst_byte_writer_fill")]
                        public bool fill (uint8 value, uint size);
                        [CCode (cname = "gst_byte_writer_free")]
+                       [DestroysInstance]
                        public void free ();
                        [CCode (cname = "gst_byte_writer_free_and_get_buffer")]
+                       [DestroysInstance]
                        public Gst.Buffer free_and_get_buffer ();
                        [CCode (cname = "gst_byte_writer_free_and_get_data")]
+                       [DestroysInstance]
                        public uint8 free_and_get_data ();
                        [CCode (cname = "gst_byte_writer_get_remaining")]
                        public uint get_remaining ();
@@ -837,10 +842,13 @@ namespace Gst {
                        [CCode (cname = "gst_bit_writer_align_bytes")]
                        public bool align_bytes (uint8 trailing_bit);
                        [CCode (cname = "gst_bit_writer_free")]
+                       [DestroysInstance]
                        public void free ();
                        [CCode (cname = "gst_bit_writer_free_and_get_buffer")]
+                       [DestroysInstance]
                        public Gst.Buffer free_and_get_buffer ();
                        [CCode (array_length = false, cname = "gst_bit_writer_free_and_get_data")]
+                       [DestroysInstance]
                        public uint8[] free_and_get_data ();
                        [CCode (cname = "gst_bit_writer_get_data")]
                        public uint8 get_data ();
index b61111372691a3e86de3cf1dff6a3af7c7359aae..c09136e248d7a1d5348b6fcb492b1c3df427fb01 100644 (file)
@@ -754,6 +754,7 @@ namespace Gst {
                        [CCode (has_construct_function = false)]
                        public Thread (Gst.RTSPServer.ThreadType type);
                        public bool reuse ();
+                       [DestroysInstance]
                        public void stop ();
                }
                [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPThreadPool", lower_case_cprefix = "gst_rtsp_thread_pool_", type_id = "gst_rtsp_thread_pool_get_type ()")]
index bf3e5ebc881b8549b9dca9fe1a9fdc24ef5c130a..919d4a14cc27edb0e1ad449271460541b588137a 100644 (file)
@@ -357,6 +357,7 @@ namespace Gst {
                        public Gst.Video.OverlayComposition copy ();
                        public unowned Gst.Video.OverlayRectangle get_rectangle (uint n);
                        public uint get_seqnum ();
+                       [DestroysInstance]
                        [ReturnsModifiedPointer]
                        public Gst.Video.OverlayComposition make_writable ();
                        public uint n_rectangles ();
index ad22c5a15e43c2fc03c0e2faa11c15c196b01f51..32b070ca2b94b0989fe580ee4743c5be578747d4 100644 (file)
@@ -103,6 +103,7 @@ namespace Gst {
                [CCode (has_construct_function = false)]
                public WebRTCSessionDescription (Gst.WebRTCSDPType type, owned Gst.SDP.Message sdp);
                public Gst.WebRTCSessionDescription copy ();
+               [DestroysInstance]
                public void free ();
        }
        [CCode (cheader_filename = "gst/webrtc/webrtc.h", cprefix = "GST_WEBRTC_BUNDLE_POLICY_", type_id = "gst_webrtc_bundle_policy_get_type ()")]
index f2e1894aa0f93d9cb73fa1db7ab6dd89990b735a..4a9493a7fd31a83ebf51ca7e8c60e20579cca6c4 100644 (file)
@@ -139,6 +139,7 @@ namespace Gsf {
                [CCode (vfunc_name = "OpenSibling")]
                public virtual Gsf.Input sibling (string name) throws GLib.Error;
                public Gsf.off_t tell ();
+               [DestroysInstance]
                public Gsf.Input uncompress ();
                [NoAccessorMethod]
                public Gsf.Infile container { owned get; }
index 3d35a23764757a3a95c843ce8a36bc9135e46456..36b741e1e26f6e63998ee188e4f4de08594b430d 100644 (file)
@@ -532,6 +532,7 @@ namespace Soup {
                public HSTSPolicy (string domain, ulong max_age, bool include_subdomains);
                public Soup.HSTSPolicy copy ();
                public bool equal (Soup.HSTSPolicy policy2);
+               [DestroysInstance]
                public void free ();
                [CCode (has_construct_function = false)]
                public HSTSPolicy.from_response (Soup.Message msg);
@@ -1283,7 +1284,7 @@ namespace Soup {
        [CCode (cheader_filename = "libsoup/soup.h", has_type_id = false)]
        public struct MessageHeadersIter {
                public static void init (out Soup.MessageHeadersIter iter, Soup.MessageHeaders hdrs);
-               public bool next (out unowned string name, out unowned string value);
+               public static bool next (ref Soup.MessageHeadersIter iter, out unowned string name, out unowned string value);
        }
        [CCode (cheader_filename = "libsoup/soup.h", has_type_id = false)]
        [Version (since = "2.26")]
index 423957285f5af0e47eff88363d96c2ad291d4d2a..d2b436e2143216564e473524b990a1975304c627 100644 (file)
@@ -30,6 +30,7 @@ CanvasItemSimple
        .get_path_bounds.bounds out unowned=false
 CanvasItemModel
        .get_simple_transform.* out
+       .get_simple_transform.model out=false
        .get_transform.transform out
 CanvasLineDash
        .dashes array array_length_field="num_dashes" unowned=false
index 934db7ce3b25192911a1b097d9c2ee30ad034c04..9f478c88cfc3ea6d0cbe60a5e52b37650998fc57 100644 (file)
@@ -40,12 +40,14 @@ AccelLabel
 // Bug #: Virtual methods without invokers
 Entry
   .get_frame_size.* out
+  .get_frame_size.entry out=false
   .get_text_area_size.* out
+  .get_text_area_size.entry out=false
 EntryBuffer
   .get_text#virtual_method name="get_text_internal"
   .get_text#virtual_method.n_bytes out default=null
 Range
-  .get_range_border.* out
+  .get_range_border.border_ out
   .get_range_size_request.minimum out
   .get_range_size_request.natural out
 RcStyle
@@ -57,7 +59,7 @@ Widget
   .adjust_size_allocation.*_size ref
   .adjust_size_allocation.allocated_pos ref
   .adjust_size_request.*_size ref
-  .compute_expand#virtual_method.* out
+  .compute_expand#virtual_method.*expand_p out
   .dispatch_child_properties_changed.pspecs array array_length_idx=0
 RecentChooser
   .get_recent_manager skip=false