From: Evan Nemerson Date: Mon, 19 Apr 2010 09:19:55 +0000 (-0700) Subject: glib-2.0: mark return value of GLib.MappedFile.get_contents as unowned X-Git-Tag: 0.9.1~137 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d01c679b68de847191b3f4592946eae9715a0136;p=thirdparty%2Fvala.git glib-2.0: mark return value of GLib.MappedFile.get_contents as unowned --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index b349aa10b..bee2d1a64 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -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")]