[vala/0.10] gio-2.0: Do not mark out arguments as nullable



commit 9b61e1f44046babd1ee4d1b5472a37b7e95e7fbc
Author: Evan Nemerson <evan coeus-group com>
Date:   Tue Oct 19 11:07:13 2010 -0700

    gio-2.0: Do not mark out arguments as nullable

 vapi/gio-2.0.vapi                      |    6 +++---
 vapi/packages/gio-2.0/gio-2.0.metadata |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index ff381e4..a40279e 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -1504,9 +1504,9 @@ namespace GLib {
 		public abstract bool has_uri_scheme (string uri_scheme);
 		public abstract uint hash ();
 		public abstract bool is_native ();
-		public bool load_contents (GLib.Cancellable? cancellable = null, out string contents, out unowned size_t? length = null, out string? etag_out = null) throws GLib.Error;
-		public async bool load_contents_async (GLib.Cancellable? cancellable = null, out string contents, out unowned size_t? length = null, out string? etag_out = null) throws GLib.Error;
-		public async bool load_partial_contents_async (GLib.Cancellable? cancellable, GLib.FileReadMoreCallback read_more_callback, out string contents, out unowned size_t? length = null, out string? etag_out = null) throws GLib.Error;
+		public bool load_contents (GLib.Cancellable? cancellable = null, out string contents, out size_t length = null, out string etag_out = null) throws GLib.Error;
+		public async bool load_contents_async (GLib.Cancellable? cancellable = null, out string contents, out size_t length = null, out string etag_out = null) throws GLib.Error;
+		public async bool load_partial_contents_async (GLib.Cancellable? cancellable, GLib.FileReadMoreCallback read_more_callback, out string contents, out size_t length = null, out string etag_out = null) throws GLib.Error;
 		public abstract bool make_directory (GLib.Cancellable? cancellable = null) throws GLib.Error;
 		public bool make_directory_with_parents (GLib.Cancellable? cancellable = null) throws GLib.Error;
 		public abstract bool make_symbolic_link (string symlink_value, GLib.Cancellable? cancellable = null) throws GLib.Error;
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index b8f3694..5a4e4d9 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -80,8 +80,8 @@ g_file_get_uri_scheme transfer_ownership="1"
 g_file_hash.file hidden="1"
 g_file_info_get_modification_time.result is_out="1"
 g_file_load_*.contents transfer_ownership="1"
-g_file_load_*.length nullable="1" is_out="1" default_value="null"
-g_file_load_*.etag_out nullable="1" transfer_ownership="1" default_value="null"
+g_file_load_*.length is_out="1" default_value="null"
+g_file_load_*.etag_out transfer_ownership="1" default_value="null"
 g_file_load_partial_contents_async.cancellable nullable="1"
 GFileMonitor::changed.other_file nullable="1"
 g_file_monitor_directory hidden="1"



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