[vala] glib-2.0: mark return value of GLib.MappedFile.get_contents as unowned



commit d01c679b68de847191b3f4592946eae9715a0136
Author: Evan Nemerson <evan coeus-group com>
Date:   Mon Apr 19 02:19:55 2010 -0700

    glib-2.0: mark return value of GLib.MappedFile.get_contents as unowned

 vapi/glib-2.0.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index b349aa1..bee2d1a 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")]



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