[vala] glib-2.0: mark return value of GLib.MappedFile.get_contents as unowned
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: mark return value of GLib.MappedFile.get_contents as unowned
- Date: Mon, 19 Apr 2010 09:24:43 +0000 (UTC)
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]