Fix gst_structure_get_value binding, fixes bug 530817
authorJürg Billeter <j@bitron.ch>
Sat, 31 May 2008 08:25:31 +0000 (08:25 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Sat, 31 May 2008 08:25:31 +0000 (08:25 +0000)
2008-05-31  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gstreamer-0.10/:

Fix gst_structure_get_value binding, fixes bug 530817

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1510

ChangeLog
vapi/gstreamer-0.10.vapi
vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata

index 7d103b8..3006e41 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2008-05-31  Jürg Billeter  <j@bitron.ch>
 
+       * vapi/packages/gstreamer-0.10/:
+
+       Fix gst_structure_get_value binding, fixes bug 530817
+
+       * vapi/gstreamer-0.10.vapi: regenerated
+
+2008-05-31  Jürg Billeter  <j@bitron.ch>
+
        * vala/valainterfacewriter.vala:
        * vapigen/valagidlparser.vala:
 
index c94199b..bce675a 100644 (file)
@@ -889,7 +889,7 @@ namespace Gst {
                public bool get_uint_index (string tag, uint index, uint value);
                public bool get_ulong (string tag, ulong value);
                public bool get_ulong_index (string tag, uint index, ulong value);
-               public GLib.Value get_value_index (string tag, uint index);
+               public weak GLib.Value? get_value_index (string tag, uint index);
                public void insert (Gst.TagList from, Gst.TagMergeMode mode);
                public bool is_empty ();
                public weak Gst.TagList merge (Gst.TagList list2, Gst.TagMergeMode mode);
@@ -1060,12 +1060,12 @@ namespace Gst {
                public GLib.Quark get_name_id ();
                public weak string get_string (string fieldname);
                public bool get_uint (string fieldname, out uint value);
-               public GLib.Value get_value (string fieldname);
+               public weak GLib.Value? get_value (string fieldname);
                public bool has_field (string fieldname);
                public bool has_field_typed (string fieldname, GLib.Type type);
                public bool has_name (string name);
                public static weak Gst.Structure id_empty_new (GLib.Quark quark);
-               public GLib.Value id_get_value (GLib.Quark field);
+               public weak GLib.Value? id_get_value (GLib.Quark field);
                public void id_set (GLib.Quark fieldname, ...);
                public void id_set_valist (GLib.Quark fieldname, void* varargs);
                public void id_set_value (GLib.Quark field, GLib.Value value);
index e71eb0d..32776ad 100644 (file)
@@ -100,6 +100,9 @@ gst_structure_get_double.value is_out="1"
 gst_structure_get_fraction.value_numerator is_out="1"
 gst_structure_get_fraction.value_denominator is_out="1"
 gst_structure_get_enum.value is_out="1"
+gst_structure_get_value nullable="1"
+gst_structure_id_get_value nullable="1"
+gst_tag_list_get_value_index nullable="1"
 gst_value_array_append_value hidden="1"
 gst_value_array_get_size hidden="1"
 gst_value_array_get_type hidden="1"