From: Evan Nemerson Date: Tue, 19 Oct 2010 18:07:13 +0000 (-0700) Subject: gio-2.0: Do not mark out arguments as nullable X-Git-Tag: 0.10.1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b61e1f44046babd1ee4d1b5472a37b7e95e7fbc;p=thirdparty%2Fvala.git gio-2.0: Do not mark out arguments as nullable --- diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index ff381e4a0..a40279eea 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 b8f36949c..5a4e4d95c 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"