[tracker/gdbus-store: 13/13] libtracker-common: Bind GLib logging functions without [Diagnostics]
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gdbus-store: 13/13] libtracker-common: Bind GLib logging functions without [Diagnostics]
- Date: Fri, 14 Jan 2011 12:40:41 +0000 (UTC)
commit 8d5716fbc33818e3cb68d1ce6cb7af1e40f7c252
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]