[vala] glib-2.0: Add some missing GLib.Scanner methods.



commit cb2fa5d2d14c4a392c8fdf20d7772e79a4992607
Author: Xavier Bestel <xavier bestel free fr>
Date:   Sat Dec 19 13:47:07 2009 -0800

    glib-2.0: Add some missing GLib.Scanner methods.
    
    Fixes bug 603796.

 vapi/glib-2.0.vapi |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 3adad3f..a6eda91 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2200,6 +2200,10 @@ namespace GLib {
 		public TokenType peek_next_token ();
 		public TokenType get_next_token ();
 		public bool eof ();
+		public int cur_line ();
+		public int cur_position ();
+		public TokenType cur_token ();
+		public TokenValue cur_value ();
 		public uint set_scope (uint scope_id);
 		public void scope_add_symbol (uint scope_id, string symbol, void* value);
 		public void scope_foreach_symbol (uint scope_id, HFunc func);
@@ -2285,7 +2289,7 @@ namespace GLib {
 		[CCode (cname="v_symbol")]
 		public void* symbol;
 		[CCode (cname="v_identifier")]
-		public string identifier;
+		public unowned string identifier;
 		[CCode (cname="v_binary")]
 		public ulong binary;
 		[CCode (cname="v_octal")]
@@ -2299,9 +2303,9 @@ namespace GLib {
 		[CCode (cname="v_hex")]
 		public ulong hex;
 		[CCode (cname="v_string")]
-		public string string;
+		public unowned string string;
 		[CCode (cname="v_comment")]
-		public string comment;
+		public unowned string comment;
 		[CCode (cname="v_char")]
 		public uchar char;
 		[CCode (cname="v_error")]



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