[Vala] [PATCH] glib-2.0: Add ScannerMsgFunc and Scanner.msg_handler
- From: Julian Andres Klode <jak jak-linux org>
- To: vala-list gnome org
- Subject: [Vala] [PATCH] glib-2.0: Add ScannerMsgFunc and Scanner.msg_handler
- Date: Tue, 6 Oct 2009 21:08:08 +0200
---
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 89740e8..a0e1527 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2115,6 +2115,8 @@ namespace GLib {
public string format_size_for_display (int64 size);
/* Lexical Scanner */
+ [CCode (has_target = false)]
+ public delegate void ScannerMsgFunc (Scanner scanner, string message, bool error);
[Compact]
[CCode (free_function = "g_scanner_destroy")]
@@ -2128,6 +2130,7 @@ namespace GLib {
public TokenValue next_value;
public uint next_line;
public uint next_position;
+ public ScannerMsgFunc msg_handler;
public Scanner (ScannerConfig? config_templ);
public void input_file (int input_fd);
public void sync_file_offset ();
--
1.6.4.3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]