]> 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>
Mon, 25 Oct 2010 12:10:42 +0000 (14:10 +0200)
vapi/gio-2.0.vapi
vapi/packages/gio-2.0/gio-2.0.metadata

index 2da225c002c61e4449ee7c0156a04724784e68b0..c9fe08e4252eb1ec30effc580afdaae1aa81966c 100644 (file)
@@ -496,8 +496,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.Priority.DEFAULT, 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.Priority.DEFAULT, 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.Priority.DEFAULT, 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 76af64630810a3f18df9231f82af3b25a8c2723a..91b1fef88c39daf8fb039c46fb76c6869eb8e94c 100644 (file)
@@ -41,6 +41,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"