]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: mark return value of GLib.MappedFile.get_contents as unowned
authorEvan Nemerson <evan@coeus-group.com>
Mon, 19 Apr 2010 09:19:55 +0000 (02:19 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Mon, 19 Apr 2010 09:22:44 +0000 (02:22 -0700)
vapi/glib-2.0.vapi

index b349aa10ba76c6057dfe2ba28c53830ef9a953b1..bee2d1a647cbb4175b1a5a7b76e56acf61544ea1 100644 (file)
@@ -2651,7 +2651,7 @@ namespace GLib {
        public class MappedFile {
                public MappedFile (string filename, bool writable) throws FileError;
                public size_t get_length ();
-               public char* get_contents ();
+               public unowned char* get_contents ();
        }
 
        [CCode (cname = "stdin", cheader_filename = "stdio.h")]