[vala] gstreamer: Add Gst.DebugCategory.get() to get a previously registered debug category by name
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gstreamer: Add Gst.DebugCategory.get() to get a previously registered debug category by name
- Date: Thu, 8 Apr 2010 08:32:36 +0000 (UTC)
commit eada2d05b60ab66264c746f63e610bdcacce9b3f
Author: Sebastian Dröge <sebastian droege collabora co uk>
Date: Sun Mar 28 13:32:11 2010 +0200
gstreamer: Add Gst.DebugCategory.get() to get a previously registered debug category by name
vapi/gstreamer-0.10.vapi | 2 ++
.../gstreamer-0.10/gstreamer-0.10-custom.vala | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index 61dd1af..756cd0c 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -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 ();
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
index d9628c9..309f26c 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
@@ -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")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]