]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-0.10: Fix gst_xml_* bindings
authorEric Alber <eric.alber@gmail.com>
Thu, 3 Sep 2009 20:17:58 +0000 (22:17 +0200)
committerJürg Billeter <j@bitron.ch>
Thu, 3 Sep 2009 20:19:23 +0000 (22:19 +0200)
Fixes bug 593853.

vapi/gstreamer-0.10.vapi
vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata

index b68f11654e11ff817a259c6d96f5c7d4c3e63cef..86b34deaf8c6ed9f58f8f0d8edc306dbb68be3e3 100644 (file)
@@ -1282,13 +1282,13 @@ namespace Gst {
                public weak GLib.List topelements;
                [CCode (has_construct_function = false)]
                public XML ();
-               public unowned Gst.Element get_element (uchar[] name);
+               public unowned Gst.Element get_element (string name);
                public unowned GLib.List get_topelements ();
                public static unowned Gst.Element make_element (void* cur, Gst.Object parent);
                [NoWrapper]
                public virtual void object_saved (Gst.Object object, void* self);
-               public bool parse_doc (void* doc, uchar[] root);
-               public bool parse_file (uchar[] fname, uchar[] root);
+               public bool parse_doc (void* doc, string root);
+               public bool parse_file (string fname, string root);
                public bool parse_memory (uchar[] buffer, uint size, string root);
                public static void* write (Gst.Element element);
                public static int write_file (Gst.Element element, GLib.FileStream @out);
index 335a6a661e517941ed7a0659160ae81b3f6bdbaa..29cd91392d20f0832b57097047762e1d28be0a46 100644 (file)
@@ -237,5 +237,11 @@ namespace Gst {
                public uint array_get_size ();
                public weak Gst.Value? array_get_value (uint index);
                public void array_prepend_value (Gst.Value prepend_value);
-       } 
+       }
+
+       public class XML {
+               public bool parse_doc(void* doc, string root);
+               public bool parse_file(string fname, string root);
+               public unowned Element get_element(string name);
+       }
 }
index 1cd33abc8451d3d514c466a8ca5a7c76e1d68035..919d303faa3c1fdc74b90c27e364559528510a45 100644 (file)
@@ -404,4 +404,7 @@ GstURIHandler::new_uri has_emitter="1"
 gst_uri_handler_get_protocols is_array="1"
 gst_uri_handler_get_protocols_full is_array="1"
 gst_version_string transfer_ownership="1"
+gst_xml_parse_doc hidden="1"
+gst_xml_parse_file hidden="1"
+gst_xml_get_element hidden="1"
 xml* name="pointer"