]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Do not mark out arguments as nullable
authorEvan Nemerson <evan@coeus-group.com>
Tue, 19 Oct 2010 18:07:13 +0000 (11:07 -0700)
committerJürg Billeter <j@bitron.ch>
Tue, 19 Oct 2010 18:59:23 +0000 (20:59 +0200)
vapi/gio-2.0.vapi
vapi/packages/gio-2.0/gio-2.0.metadata

index ff381e4a0d9b473026aee0f756f62d28b769c7f6..a40279eea0d9fdc9f1e06e11fd04320d89567c7b 100644 (file)
@@ -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;
index b8f36949c8e4f88a8ec8db05a57eea7df7edc001..5a4e4d95caac661b850f84e76684b32b83b129c3 100644 (file)
@@ -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"