]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer: Add Gst.DebugCategory.get() to get a previously registered debug category...
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 28 Mar 2010 11:32:11 +0000 (13:32 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 8 Apr 2010 08:30:51 +0000 (10:30 +0200)
vapi/gstreamer-0.10.vapi
vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala

index 61dd1afdc27da4ab76b15d608eb5a7d5dffbc999..756cd0c1b69b578bc9525c82076abc5b3cf88b27 100644 (file)
@@ -298,6 +298,8 @@ namespace Gst {
                public void error (string format, ...);
                [CCode (cname = "GST_CAT_ERROR_OBJECT")]
                public void error_object (GLib.Object obj, string format, ...);
+               [CCode (cname = "GST_DEBUG_CATEGORY_GET")]
+               public static unowned Gst.DebugCategory @get (string name);
                public uint get_color ();
                public unowned string get_description ();
                public unowned string get_name ();
index d9628c983a083c624874cf22e35d88676a2da424..309f26c957731049b48b4755df98c874513770d0 100644 (file)
@@ -207,6 +207,8 @@ namespace Gst {
                public void warning_object (GLib.Object obj, string format, ...);
                [CCode (cname="GST_CAT_ERROR_OBJECT")]
                public void error_object (GLib.Object obj, string format, ...);
+               [CCode (cname="GST_DEBUG_CATEGORY_GET")]
+               public static unowned DebugCategory @get (string name);
        }
 
        [CCode (cname="GST_DEBUG_BIN_TO_DOT_FILE")]