[vala] gio-2.0: Use out uint8[] for File.load_* methods
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gio-2.0: Use out uint8[] for File.load_* methods
- Date: Wed, 11 May 2011 20:26:17 +0000 (UTC)
commit d51a3caec9bda0536b066aef066b744d494d92c1
Author: Luca Bruno <lucabru src gnome org>
Date: Wed May 11 22:23:13 2011 +0200
gio-2.0: Use out uint8[] for File.load_* methods
Fixes bug 594376.
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 104400c..08e580b 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -1763,9 +1763,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 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 bool load_contents (GLib.Cancellable? cancellable = null, out uint8[] contents, out string etag_out = null) throws GLib.Error;
+ public async bool load_contents_async (GLib.Cancellable? cancellable = null, out uint8[] contents, out string etag_out = null) throws GLib.Error;
+ public async bool load_partial_contents_async (GLib.Cancellable? cancellable, GLib.FileReadMoreCallback read_more_callback, out uint8[] contents, 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 00fe032..ecdf9b3 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -147,8 +147,8 @@ g_file_get_uri transfer_ownership="1"
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 is_out="1" default_value="null"
+g_file_load_*.contents type_name="uint8[]" transfer_ownership="1"
+g_file_load_*.length hidden="1"
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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]