From: Julian Andres Klode Date: Tue, 6 Oct 2009 19:08:08 +0000 (+0200) Subject: glib-2.0: Add ScannerMsgFunc and Scanner.msg_handler X-Git-Tag: 0.7.8~69 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1c5ac3284048e0a4779a9e89b233a7d2a1e58a9e;p=thirdparty%2Fvala.git glib-2.0: Add ScannerMsgFunc and Scanner.msg_handler --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 89740e8f3..a0e15272e 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 ();