]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Fix g_data_input_stream_read_*_finish bindings
authorlariamat <interflug1@gmx.net>
Thu, 25 Jun 2009 19:48:28 +0000 (21:48 +0200)
committerJürg Billeter <j@bitron.ch>
Thu, 25 Jun 2009 19:48:28 +0000 (21:48 +0200)
Fixes bug 585266.

vapi/gio-2.0.vapi
vapi/packages/gio-2.0/gio-2.0.metadata

index 44d9b9d490b9706fac1acfee7da15a146f187655..9acd9bd1475bc32829780b9ddbb0c798512a32df 100644 (file)
@@ -67,13 +67,13 @@ namespace GLib {
                public int64 read_int64 (GLib.Cancellable? cancellable) throws GLib.Error;
                public unowned string? read_line (out size_t length, GLib.Cancellable? cancellable) throws GLib.Error;
                public void read_line_async (int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
-               public unowned string read_line_finish (GLib.AsyncResult _result, size_t length) throws GLib.Error;
+               public unowned string read_line_finish (GLib.AsyncResult _result, out size_t length) throws GLib.Error;
                public uint16 read_uint16 (GLib.Cancellable? cancellable) throws GLib.Error;
                public uint32 read_uint32 (GLib.Cancellable? cancellable) throws GLib.Error;
                public uint64 read_uint64 (GLib.Cancellable? cancellable) throws GLib.Error;
                public unowned string? read_until (string stop_chars, out size_t length, GLib.Cancellable? cancellable) throws GLib.Error;
                public void read_until_async (string stop_chars, int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
-               public unowned string read_until_finish (GLib.AsyncResult _result, size_t length) throws GLib.Error;
+               public unowned string read_until_finish (GLib.AsyncResult _result, out size_t length) throws GLib.Error;
                public void set_byte_order (GLib.DataStreamByteOrder order);
                public void set_newline_type (GLib.DataStreamNewlineType type);
                public GLib.DataStreamByteOrder byte_order { get; set; }
index 0aa7f1b5303092d7033dde1b880732c2163266ac..cb1d713e65b8b908af7816993be7eaa8488b600b 100644 (file)
@@ -7,8 +7,10 @@ g_content_type_guess.data_size hidden="1"
 g_content_type_guess.result_uncertain is_out="1"
 g_data_input_stream_read_line nullable="1"
 g_data_input_stream_read_line.length is_out="1"
+g_data_input_stream_read_line_finish.length is_out="1"
 g_data_input_stream_read_until nullable="1"
 g_data_input_stream_read_until.length is_out="1"
+g_data_input_stream_read_until_finish.length is_out="1"
 g_file_append_to transfer_ownership="1"
 g_file_append_to_finish transfer_ownership="1"
 g_file_copy.progress_callback_data hidden="1"