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.11.1~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=513236f4beda5bea3960575a941b542e1b09d8d3;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 82ddf78b3..9ca68066e 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -1602,9 +1602,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 177e60a25..f86760018 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"