]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Add some missing GLib.Scanner methods.
authorXavier Bestel <xavier.bestel@free.fr>
Sat, 19 Dec 2009 21:47:07 +0000 (13:47 -0800)
committerEvan Nemerson <evan@coeus-group.com>
Sat, 19 Dec 2009 21:47:07 +0000 (13:47 -0800)
Fixes bug 603796.

vapi/glib-2.0.vapi

index 3adad3ff073706ea862868b86414fb9719a6204b..a6eda911ee5f297135e0640b6fc4f0a4f4dacc3b 100644 (file)
@@ -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")]