]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Fix g_data_input_stream_read_upto binding
authorJürg Billeter <j@bitron.ch>
Mon, 25 Oct 2010 12:10:42 +0000 (14:10 +0200)
committerJürg Billeter <j@bitron.ch>
Tue, 26 Oct 2010 18:10:04 +0000 (20:10 +0200)
vapi/gio-2.0.vapi
vapi/packages/gio-2.0/gio-2.0.metadata

index a40279eea0d9fdc9f1e06e11fd04320d89567c7b..c161f6ea8130b08d6eebd68167016c4be4321e40 100644 (file)
@@ -434,8 +434,8 @@ namespace GLib {
                public uint64 read_uint64 (GLib.Cancellable? cancellable = null) throws GLib.Error;
                public string? read_until (string stop_chars, out size_t length, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public async string? read_until_async (string stop_chars, int io_priority, GLib.Cancellable? cancellable = null, out size_t? length = null) throws GLib.Error;
-               public unowned string read_upto (string stop_chars, ssize_t stop_chars_len, size_t length, GLib.Cancellable? cancellable = null) throws GLib.Error;
-               public async unowned string read_upto_async (string stop_chars, ssize_t stop_chars_len, int io_priority, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public string? read_upto (string stop_chars, ssize_t stop_chars_len, out size_t length, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public async string? read_upto_async (string stop_chars, ssize_t stop_chars_len, int io_priority, GLib.Cancellable? cancellable = null, out size_t? length = null) 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 5a4e4d95caac661b850f84e76684b32b83b129c3..807c4b9bfa675dbd9c58b51ee4062ef73b2475bb 100644 (file)
@@ -30,6 +30,10 @@ g_data_input_stream_read_until nullable="1" transfer_ownership="1"
 g_data_input_stream_read_until.length is_out="1"
 g_data_input_stream_read_until_finish nullable="1" transfer_ownership="1"
 g_data_input_stream_read_until_finish.length nullable="1" transfer_ownership="1" default_value="null" is_out="1"
+g_data_input_stream_read_upto nullable="1" transfer_ownership="1"
+g_data_input_stream_read_upto.length is_out="1"
+g_data_input_stream_read_upto_finish nullable="1" transfer_ownership="1"
+g_data_input_stream_read_upto_finish.length nullable="1" transfer_ownership="1" default_value="null" is_out="1"
 g_dbus_address_get_stream async="1"
 g_dbus_connection_call async="1"
 g_dbus_connection_call_finish transfer_ownership="1"