vala r2161 - in trunk: . vapi vapi/packages/gstreamer-0.10



Author: juergbi
Date: Mon Dec 15 20:37:08 2008
New Revision: 2161
URL: http://svn.gnome.org/viewvc/vala?rev=2161&view=rev

Log:
2008-12-15  JÃrg Billeter  <j bitron ch>

	* vapi/packages/gstreamer-0.10/:

	Various ownership fixes, patch by Evan Nemerson, fixes bug 553032

	* vapi/gstreamer-0.10.vapi: regenerated


Modified:
   trunk/ChangeLog
   trunk/vapi/gstreamer-0.10.vapi
   trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata

Modified: trunk/vapi/gstreamer-0.10.vapi
==============================================================================
--- trunk/vapi/gstreamer-0.10.vapi	(original)
+++ trunk/vapi/gstreamer-0.10.vapi	Mon Dec 15 20:37:08 2008
@@ -1,4 +1,4 @@
-/* gstreamer-0.10.vapi generated by vapigen, do not modify. */
+/* gstreamer-0.10.vapi generated by lt-vapigen, do not modify. */
 
 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
 namespace Gst {
@@ -141,8 +141,8 @@
 		public Caps.any ();
 		public void append (Gst.Caps caps2);
 		public void append_structure (Gst.Structure structure);
-		public weak Gst.Caps copy ();
-		public weak Gst.Caps copy_nth (uint nth);
+		public Gst.Caps copy ();
+		public Gst.Caps copy_nth (uint nth);
 		public bool do_simplify ();
 		[CCode (has_construct_function = false)]
 		public Caps.empty ();
@@ -535,7 +535,7 @@
 		public int id;
 		public Gst.IndexEntryType type;
 		public bool assoc_map (Gst.Format format, int64 value);
-		public weak Gst.IndexEntry copy ();
+		public Gst.IndexEntry copy ();
 	}
 	[CCode (cheader_filename = "gst/gst.h")]
 	public class IndexFactory : Gst.PluginFeature {
@@ -655,7 +655,7 @@
 	public class MiniObject {
 		public uint flags;
 		public int refcount;
-		public weak Gst.MiniObject copy ();
+		public Gst.MiniObject copy ();
 		public bool is_writable ();
 		[ReturnsModifiedPointer]
 		public void make_writable ();
@@ -1073,7 +1073,7 @@
 		public int64 stop;
 		public int64 time;
 		public bool clip (Gst.Format format, int64 start, int64 stop, out int64 clip_start, out int64 clip_stop);
-		public weak Gst.Segment copy ();
+		public Gst.Segment copy ();
 		public void init (Gst.Format format);
 		[CCode (has_construct_function = false)]
 		public Segment ();
@@ -1093,7 +1093,7 @@
 		public GLib.Quark name;
 		public int parent_refcount;
 		public GLib.Type type;
-		public weak Gst.Structure copy ();
+		public Gst.Structure copy ();
 		public static weak Gst.Structure empty_new (string name);
 		public bool fixate_field_boolean (string field_name, bool target);
 		public bool fixate_field_nearest_double (string field_name, double target);
@@ -1137,7 +1137,7 @@
 		public void set_parent_refcount (int refcount);
 		public void set_valist (string fieldname, void* varargs);
 		public void set_value (string fieldname, Gst.Value value);
-		public weak string to_string ();
+		public string to_string ();
 		[CCode (has_construct_function = false)]
 		public Structure.valist (string name, string firstfield, void* varargs);
 	}
@@ -1346,27 +1346,27 @@
 	[IntegerType (rank = 0)]
 	public struct ClockTimeDiff : int64 {
 	}
-	[CCode (cheader_filename = "gst/gst.h")]
+	[CCode (type_id = "GST_TYPE_ELEMENT_DETAILS", cheader_filename = "gst/gst.h")]
 	public struct ElementDetails {
 		public weak string longname;
 		public weak string klass;
 		public weak string description;
 		public weak string author;
 	}
-	[CCode (cheader_filename = "gst/gst.h")]
+	[CCode (type_id = "GST_TYPE_FORMAT_DEFINITION", cheader_filename = "gst/gst.h")]
 	public struct FormatDefinition {
 		public Gst.Format value;
 		public weak string nick;
 		public weak string description;
 		public GLib.Quark quark;
 	}
-	[CCode (cheader_filename = "gst/gst.h")]
+	[CCode (type_id = "GST_TYPE_STATIC_CAPS", cheader_filename = "gst/gst.h")]
 	public struct StaticCaps {
 		[CCode (cname = "string")]
 		public weak string str;
 		public Gst.Caps get ();
 	}
-	[CCode (cheader_filename = "gst/gst.h")]
+	[CCode (type_id = "GST_TYPE_STATIC_PAD_TEMPLATE", cheader_filename = "gst/gst.h")]
 	public struct StaticPadTemplate {
 		public weak string name_template;
 		public Gst.PadDirection direction;
@@ -1375,7 +1375,7 @@
 		public Gst.PadTemplate get ();
 		public Gst.Caps get_caps ();
 	}
-	[CCode (cname = "GValue", type_id = "G_TYPE_VALUE", cheader_filename = "gst/gst.h")]
+	[CCode (cname = "GValue", type_id = "GST_TYPE_VALUE", cheader_filename = "gst/gst.h")]
 	public struct Value : GLib.Value {
 		public void array_append_value (Gst.Value append_value);
 		public uint array_get_size ();

Modified: trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
==============================================================================
--- trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata	(original)
+++ trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata	Mon Dec 15 20:37:08 2008
@@ -28,6 +28,8 @@
 gst_caps_set_simple ellipsis="1"
 gst_caps_union transfer_ownership="1"
 gst_caps_make_writable hidden="1"
+gst_caps_copy transfer_ownership="1"
+gst_caps_copy_nth transfer_ownership="1"
 GstChildProxy::child_added has_emitter="1"
 GstChildProxy::child_removed has_emitter="1"
 GstClockTime hidden="1"
@@ -91,6 +93,7 @@
 GstFormatDefinition is_value_type="1"
 GstGhostPad base_class="GstPad"
 GstGhostPadClass hidden="1"
+gst_index_entry_copy transfer_ownership="1"
 gst_init hidden="1"
 gst_init_get_option_group transfer_ownership="1"
 gst_iterator_free hidden="1"
@@ -131,6 +134,7 @@
 GstMiniObjectClass base_class="GTypeClass"
 GstMiniObjectClass.type_class hidden="1"
 gst_mini_object_make_writable hidden="1"
+gst_mini_object_copy transfer_ownership="1"
 GstObjectClass name="pointer"
 gst_object_default_error throws="0"
 gst_class_signal_connect hidden="1"
@@ -192,6 +196,7 @@
 gst_registry_feature_filter.filter delegate_target_pos="2.1"
 gst_segment_clip.clip_start is_out="1"
 gst_segment_clip.clip_stop is_out="1"
+gst_segment_copy transfer_ownership="1"
 GstStaticCaps is_value_type="1"
 GstStaticCaps.caps hidden="1"
 gst_static_caps_get transfer_ownership="1"
@@ -199,6 +204,7 @@
 gst_static_pad_template_get transfer_ownership="1"
 gst_static_pad_template_get_caps transfer_ownership="1"
 GstStructure is_immutable="1"
+gst_structure_copy transfer_ownership="1"
 gst_structure_new ellipsis="1"
 gst_structure_from_string nullable="1" transfer_ownership="1"
 gst_structure_from_string.end is_out="1"
@@ -215,6 +221,7 @@
 gst_structure_get_enum.value is_out="1"
 gst_structure_get_value nullable="1" type_name="Value"
 gst_structure_id_get_value nullable="1"
+gst_structure_to_string transfer_ownership="1"
 gst_tag_list_get_value_index nullable="1"
 gst_tag_list_copy transfer_ownership="1"
 gst_tag_list_copy_value.dest is_out="1"



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