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



Author: tvermeir
Date: Sun Aug 10 15:11:48 2008
New Revision: 1748
URL: http://svn.gnome.org/viewvc/vala?rev=1748&view=rev

Log:
	* vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala:
	Add ref functions for Gst.Caps
	* vapi/gstreamer-0.10.vapi: regenerated



Modified:
   trunk/ChangeLog
   trunk/vapi/gstreamer-0.10.vapi
   trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala

Modified: trunk/vapi/gstreamer-0.10.vapi
==============================================================================
--- trunk/vapi/gstreamer-0.10.vapi	(original)
+++ trunk/vapi/gstreamer-0.10.vapi	Sun Aug 10 15:11:48 2008
@@ -565,6 +565,51 @@
 		public void stamp (Gst.Buffer src);
 		public static weak Gst.Buffer try_new_and_alloc (uint size);
 	}
+	[CCode (ref_function = "gst_caps_ref", unref_function = "gst_caps_unref", cheader_filename = "gst/gst.h")]
+	public class Caps {
+		public GLib.Type type;
+		public int refcount;
+		public Gst.CapsFlags flags;
+		public weak GLib.PtrArray structs;
+		public weak Gst.Caps @ref ();
+		public void unref ();
+		public Caps ();
+		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 bool do_simplify ();
+		public static weak Gst.Caps from_string (string str);
+		public uint get_size ();
+		public weak Gst.Structure get_structure (uint index);
+		public weak Gst.Caps intersect (Gst.Caps caps2);
+		public bool is_always_compatible (Gst.Caps caps2);
+		public bool is_any ();
+		public bool is_empty ();
+		public bool is_equal (Gst.Caps caps2);
+		public bool is_equal_fixed (Gst.Caps caps2);
+		public bool is_fixed ();
+		public bool is_subset (Gst.Caps superset);
+		public static weak Gst.Caps load_thyself (void* parent);
+		public weak Gst.Caps make_writable ();
+		public void merge (Gst.Caps caps2);
+		public void merge_structure (Gst.Structure structure);
+		public Caps.any ();
+		public Caps.empty ();
+		public Caps.full (Gst.Structure struct1, ...);
+		public Caps.full_valist (Gst.Structure structure, void* var_args);
+		public Caps.simple (string media_type, string fieldname, ...);
+		public weak Gst.Caps normalize ();
+		public void remove_structure (uint idx);
+		public void replace (Gst.Caps newcaps);
+		public void* save_thyself (void* parent);
+		public void set_simple (string field, ...);
+		public void set_simple_valist (string field, void* varargs);
+		public weak Gst.Caps subtract (Gst.Caps subtrahend);
+		public weak string to_string ();
+		public void truncate ();
+		public Gst.Caps union (Gst.Caps caps2);
+	}
 	[Compact]
 	[CCode (cheader_filename = "gst/gst.h")]
 	public class DebugCategory {
@@ -985,49 +1030,6 @@
 		public weak Gst.ValueDeserializeFunc deserialize;
 	}
 	[Compact]
-	[CCode (ref_function = "gst_caps_ref", unref_function = "gst_caps_unref", cheader_filename = "gst/gst.h")]
-	public class Caps {
-		public GLib.Type type;
-		public int refcount;
-		public Gst.CapsFlags flags;
-		public weak GLib.PtrArray structs;
-		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 bool do_simplify ();
-		public static weak Gst.Caps from_string (string str);
-		public uint get_size ();
-		public weak Gst.Structure get_structure (uint index);
-		public weak Gst.Caps intersect (Gst.Caps caps2);
-		public bool is_always_compatible (Gst.Caps caps2);
-		public bool is_any ();
-		public bool is_empty ();
-		public bool is_equal (Gst.Caps caps2);
-		public bool is_equal_fixed (Gst.Caps caps2);
-		public bool is_fixed ();
-		public bool is_subset (Gst.Caps superset);
-		public static weak Gst.Caps load_thyself (void* parent);
-		public weak Gst.Caps make_writable ();
-		public void merge (Gst.Caps caps2);
-		public void merge_structure (Gst.Structure structure);
-		public Caps.any ();
-		public Caps.empty ();
-		public Caps.full (Gst.Structure struct1, ...);
-		public Caps.full_valist (Gst.Structure structure, void* var_args);
-		public Caps.simple (string media_type, string fieldname, ...);
-		public weak Gst.Caps normalize ();
-		public void remove_structure (uint idx);
-		public void replace (Gst.Caps newcaps);
-		public void* save_thyself (void* parent);
-		public void set_simple (string field, ...);
-		public void set_simple_valist (string field, void* varargs);
-		public weak Gst.Caps subtract (Gst.Caps subtrahend);
-		public weak string to_string ();
-		public void truncate ();
-		public Gst.Caps union (Gst.Caps caps2);
-	}
-	[Compact]
 	[CCode (cheader_filename = "gst/gst.h")]
 	public class Date {
 	}

Modified: trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
==============================================================================
--- trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala	(original)
+++ trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala	Sun Aug 10 15:11:48 2008
@@ -41,6 +41,11 @@
 		public void unref ();
 	}
 
+	public class Caps {
+		public weak Caps @ref ();
+		public void unref ();
+	}
+
 	[Compact]
 	public class DebugCategory {
 		[CCode (cname="GST_DEBUG_CATEGORY_INIT")]



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