[tracker/gdbus: 13/92] libtracker-common: Bind GLib logging functions without [Diagnostics]



commit bc1aabde1e2438bed4edeef774b55dec47634c70
Author: Jürg Billeter <j bitron ch>
Date:   Wed Jan 12 14:00:30 2011 +0100

    libtracker-common: Bind GLib logging functions without [Diagnostics]

 src/libtracker-common/libtracker-common.vapi |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-common/libtracker-common.vapi b/src/libtracker-common/libtracker-common.vapi
index 36644c8..f7a8bab 100644
--- a/src/libtracker-common/libtracker-common.vapi
+++ b/src/libtracker-common/libtracker-common.vapi
@@ -79,5 +79,22 @@ namespace Tracker {
 	public bool env_check_xdg_dirs ();
 	[CCode (cheader_filename = "libtracker-common/tracker-common.h")]
 	public void ioprio_init ();
+
+	[CCode (cname = "g_message", cheader_filename = "glib.h")]
+	[PrintfFormat]
+	public void message (string format, ...);
+	[CCode (cname = "g_warning", cheader_filename = "glib.h")]
+	[PrintfFormat]
+	public void warning (string format, ...);
+	[CCode (cname = "g_critical", cheader_filename = "glib.h")]
+	[PrintfFormat]
+	public void critical (string format, ...);
+	[CCode (cname = "g_error", cheader_filename = "glib.h")]
+	[PrintfFormat]
+	[NoReturn]
+	public void error (string format, ...);
+	[CCode (cname = "g_debug", cheader_filename = "glib.h")]
+	[PrintfFormat]
+	public void debug (string format, ...);
 }
 



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