[vala] glib-2.0: Add binding for g_test_log_set_fatal_handler()
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Add binding for g_test_log_set_fatal_handler()
- Date: Sat, 17 Jul 2010 06:01:26 +0000 (UTC)
commit 6ab24bb4979ddd19e5d8a6439234521236ba4896
Author: Philip Withnall <philip withnall collabora co uk>
Date: Thu Jul 8 18:47:38 2010 +0100
glib-2.0: Add binding for g_test_log_set_fatal_handler()
Fixes bug 623868.
vapi/glib-2.0.vapi | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 44080ad..0c0a8e6 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3249,8 +3249,11 @@ namespace GLib {
public static int32 rand_int_range (int32 begin, int32 end);
public static double rand_double ();
public static double rand_double_range ();
+ public static void log_set_fatal_handler (LogFatalFunc log_func);
}
+ public delegate bool LogFatalFunc (string? log_domain, LogLevelFlags log_levels, string message);
+
[Compact]
[CCode (cname = "GTestCase", ref_function = "", unref_function = "")]
public class TestCase {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]