[vala/0.34] gstreamer-1.0: Mark *.make_writable with "ReturnsModifiedPointer"
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.34] gstreamer-1.0: Mark *.make_writable with "ReturnsModifiedPointer"
- Date: Thu, 16 Mar 2017 07:16:19 +0000 (UTC)
commit 7404e6fce08b72deab6c7ecada71282da885c1ba
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Mar 8 10:31:33 2017 +0100
gstreamer-1.0: Mark *.make_writable with "ReturnsModifiedPointer"
https://bugzilla.gnome.org/show_bug.cgi?id=759255
vapi/gstreamer-1.0.vapi | 2 ++
vapi/gstreamer-video-1.0.vapi | 1 +
vapi/metadata/Gst-1.0.metadata | 1 +
vapi/metadata/GstVideo-1.0.metadata | 1 +
4 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 3045d34..99b287c 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -1674,6 +1674,7 @@ namespace Gst {
public T get_qdata<T> (GLib.Quark quark);
public bool is_writable ();
public bool @lock (Gst.LockFlags flags);
+ [ReturnsModifiedPointer]
public Gst.MiniObject make_writable ();
public unowned Gst.MiniObject @ref ();
public static bool replace (ref Gst.MiniObject? olddata, Gst.MiniObject? newdata);
@@ -2502,6 +2503,7 @@ namespace Gst {
public bool is_writable ();
[Version (since = "1.6")]
public Gst.Uri join (Gst.Uri? ref_uri);
+ [ReturnsModifiedPointer]
[Version (since = "1.6")]
public Gst.Uri make_writable ();
[Version (since = "1.6")]
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index bd16e01..1c8fa28 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -292,6 +292,7 @@ namespace Gst {
public Gst.Video.OverlayComposition copy ();
public unowned Gst.Video.OverlayRectangle get_rectangle (uint n);
public uint get_seqnum ();
+ [ReturnsModifiedPointer]
public Gst.Video.OverlayComposition make_writable ();
public uint n_rectangles ();
}
diff --git a/vapi/metadata/Gst-1.0.metadata b/vapi/metadata/Gst-1.0.metadata
index e185858..0cd11ca 100644
--- a/vapi/metadata/Gst-1.0.metadata
+++ b/vapi/metadata/Gst-1.0.metadata
@@ -199,6 +199,7 @@ TagList base_type="Gst.MiniObject"
.mini_object skip
Toc base_type="Gst.MiniObject"
TocEntry base_type="Gst.MiniObject"
+*.make_writable returns_modified_pointer
// Reparenting
TAG_* parent="Gst.Tags" name="TAG_(.+)"
diff --git a/vapi/metadata/GstVideo-1.0.metadata b/vapi/metadata/GstVideo-1.0.metadata
index b115e0e..1777e7a 100644
--- a/vapi/metadata/GstVideo-1.0.metadata
+++ b/vapi/metadata/GstVideo-1.0.metadata
@@ -19,6 +19,7 @@ VideoCodecFrame
// Gst.MiniObject inheritance
VideoOverlayComposition base_type="Gst.MiniObject"
VideoOverlayRectangle base_type="Gst.MiniObject"
+*.make_writable returns_modified_pointer
// Bug #685833
VideoCodecFrame
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]